Skip to content

Instantly share code, notes, and snippets.

@dalen
Created February 28, 2013 15:05
Show Gist options
  • Save dalen/5057384 to your computer and use it in GitHub Desktop.
Save dalen/5057384 to your computer and use it in GitHub Desktop.
31) Puppet::Type::File#write_temporary_file? should be true if the file has specified content
Failure/Error: Unable to find matching line from backtrace
NameError:
method `rmtree' not defined in Module
# /Library/Ruby/Gems/1.8/gems/mocha-0.13.2/lib/mocha/class_method.rb:65:in `remove_method'
# /Library/Ruby/Gems/1.8/gems/mocha-0.13.2/lib/mocha/class_method.rb:65:in `send'
# /Library/Ruby/Gems/1.8/gems/mocha-0.13.2/lib/mocha/class_method.rb:65:in `remove_new_method'
# /Library/Ruby/Gems/1.8/gems/mocha-0.13.2/lib/mocha/class_method.rb:21:in `unstub'
# /Library/Ruby/Gems/1.8/gems/mocha-0.13.2/lib/mocha/central.rb:20:in `unstub'
# /Library/Ruby/Gems/1.8/gems/mocha-0.13.2/lib/mocha/central.rb:27:in `unstub_all'
# /Library/Ruby/Gems/1.8/gems/mocha-0.13.2/lib/mocha/mockery.rb:66:in `teardown'
# /Library/Ruby/Gems/1.8/gems/mocha-0.13.2/lib/mocha/hooks.rb:39:in `mocha_teardown'
# /Library/Ruby/Gems/1.8/gems/rspec-core-2.13.0/lib/rspec/core/mocking/with_mocha.rb:48:in `teardown_mocks_for_rspec'
# /Library/Ruby/Gems/1.8/gems/rspec-core-2.13.0/lib/rspec/core/example.rb:309:in `run_after_each'
# /Library/Ruby/Gems/1.8/gems/rspec-core-2.13.0/lib/rspec/core/example.rb:120:in `run'
# /Library/Ruby/Gems/1.8/gems/rspec-core-2.13.0/lib/rspec/core/example.rb:254:in `with_around_each_hooks'
# /Library/Ruby/Gems/1.8/gems/rspec-core-2.13.0/lib/rspec/core/example.rb:111:in `run'
# /Library/Ruby/Gems/1.8/gems/rspec-core-2.13.0/lib/rspec/core/example_group.rb:386:in `run_examples'
# /Library/Ruby/Gems/1.8/gems/rspec-core-2.13.0/lib/rspec/core/example_group.rb:382:in `map'
# /Library/Ruby/Gems/1.8/gems/rspec-core-2.13.0/lib/rspec/core/example_group.rb:382:in `run_examples'
# /Library/Ruby/Gems/1.8/gems/rspec-core-2.13.0/lib/rspec/core/example_group.rb:367:in `run'
# /Library/Ruby/Gems/1.8/gems/rspec-core-2.13.0/lib/rspec/core/example_group.rb:368:in `run'
# /Library/Ruby/Gems/1.8/gems/rspec-core-2.13.0/lib/rspec/core/example_group.rb:368:in `map'
# /Library/Ruby/Gems/1.8/gems/rspec-core-2.13.0/lib/rspec/core/example_group.rb:368:in `run'
# /Library/Ruby/Gems/1.8/gems/rspec-core-2.13.0/lib/rspec/core/command_line.rb:28:in `run'
# /Library/Ruby/Gems/1.8/gems/rspec-core-2.13.0/lib/rspec/core/command_line.rb:28:in `map'
# /Library/Ruby/Gems/1.8/gems/rspec-core-2.13.0/lib/rspec/core/command_line.rb:28:in `run'
# /Library/Ruby/Gems/1.8/gems/rspec-core-2.13.0/lib/rspec/core/reporter.rb:34:in `report'
# /Library/Ruby/Gems/1.8/gems/rspec-core-2.13.0/lib/rspec/core/command_line.rb:25:in `run'
# /Library/Ruby/Gems/1.8/gems/rspec-core-2.13.0/lib/rspec/core/runner.rb:80:in `run'
# /Library/Ruby/Gems/1.8/gems/rspec-core-2.13.0/lib/rspec/core/runner.rb:17:in `autorun'
# /usr/bin/rspec:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment