Skip to content

Instantly share code, notes, and snippets.

@raphink
Created July 18, 2013 22:24
Show Gist options
  • Save raphink/6033652 to your computer and use it in GitHub Desktop.
Save raphink/6033652 to your computer and use it in GitHub Desktop.
$ rspec --color spec/unit/puppet/apache_setenv_spec.rb
....FF.
Failures:
1) Puppet::Type::Apache_setenv::ProviderAugeas with simple file when update existing should update existing
Failure/Error: ))
expected: []
got: [wrong number of arguments (2 for 0), change from test.com to test2.com failed: wrong number of arguments (2 for 0)] (using ==)
Diff:
@@ -1,2 +1,3 @@
-[]
+[wrong number of arguments (2 for 0),
+ change from test.com to test2.com failed: wrong number of arguments (2 for 0)]
# ./spec/lib/augeas_spec/fixtures.rb:31:in `apply!'
# ./spec/unit/puppet/apache_setenv_spec.rb:83:in `block (4 levels) in <top (required)>'
2) Puppet::Type::Apache_setenv::ProviderAugeas with simple file when update existing should clear value when no value
Failure/Error: ))
expected: []
got: [wrong number of arguments (2 for 0), change from test.com to failed: wrong number of arguments (2 for 0)] (using ==)
Diff:
@@ -1,2 +1,3 @@
-[]
+[wrong number of arguments (2 for 0),
+ change from test.com to failed: wrong number of arguments (2 for 0)]
# ./spec/lib/augeas_spec/fixtures.rb:31:in `apply!'
# ./spec/unit/puppet/apache_setenv_spec.rb:109:in `block (4 levels) in <top (required)>'
Finished in 0.53746 seconds
7 examples, 2 failures
Failed examples:
rspec ./spec/unit/puppet/apache_setenv_spec.rb:76 # Puppet::Type::Apache_setenv::ProviderAugeas with simple file when update existing should update existing
rspec ./spec/unit/puppet/apache_setenv_spec.rb:102 # Puppet::Type::Apache_setenv::ProviderAugeas with simple file when update existing should clear value when no value
Coverage report generated for RSpec to /home/raphink/Documents/augeasproviders/coverage. 51 / 56 LOC (91.07%) covered.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment