Advertisement
fatmcgav

rspec-puppet coverage failure

Jan 7th, 2014
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 1.18 KB | None | 0 0
  1. $ rake spec
  2. librarian-puppet install --path=spec/fixtures/modules/
  3. /usr/bin/ruby -S rspec spec/classes/server/db/oracle_spec.rb spec/classes/server/linux_spec.rb spec/classes/util/linux/facts_spec.rb spec/classes/util/linux/motd_spec.rb spec/defines/util/linux/add_group_spec.rb spec/defines/util/linux/add_user_spec.rb spec/defines/util/linux/motd/add_spec.rb --color
  4. .........................................
  5.  
  6. Finished in 32.94 seconds
  7. 41 examples, 0 failures
  8. /home/gavinw/gems/gems/rspec-puppet-1.0.2/lib/rspec-puppet/coverage.rb:40:in `round': wrong number of arguments (1 for 0) (ArgumentError)
  9.        from /home/gavinw/gems/gems/rspec-puppet-1.0.2/lib/rspec-puppet/coverage.rb:40:in `report!'
  10.        from /home/gavinw/module-dev/act-config/spec/defines/util/linux/add_user_spec.rb:29
  11. rake aborted!
  12. /usr/bin/ruby -S rspec spec/classes/server/db/oracle_spec.rb spec/classes/server/linux_spec.rb spec/classes/util/linux/facts_spec.rb spec/classes/util/linux/motd_spec.rb spec/defines/util/linux/add_group_spec.rb spec/defines/util/linux/add_user_spec.rb spec/defines/util/linux/motd/add_spec.rb --color failed
  13.  
  14. Tasks: TOP => spec_standalone
  15. (See full trace by running task with --trace)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement