Permalink
Browse files

correcting final code sample

  • Loading branch information...
haf authored and amfranz committed Aug 28, 2012
1 parent 46630bd commit 17ac62a86e1e4dc822cd641167185065b4daf297
Showing with 0 additions and 1 deletion.
  1. +0 −1 README.md
View
@@ -106,7 +106,6 @@ demonstrates the use of a shared context.
_spec/spec\_helper.rb_
- require 'rspec-hiera'

This comment has been minimized.

Show comment Hide comment
@larstobi

larstobi Nov 19, 2012

Removing this gives me an error

spec/spec_helper.rb:8:in `block in <top (required)>': undefined method `module_path=' for #<RSpec::Core::Configuration:0x007fd28a857320> (NoMethodError)

but keeping it doesn't make it work either.

I have no success with this example. I can only get the error

Puppet::Error Could not find data item foo_message in any Hiera data file and no default supplied

I have the example code here, if you would have a look https://github.com/larstobi/rspec-hiera-puppet-example

@larstobi

larstobi Nov 19, 2012

Removing this gives me an error

spec/spec_helper.rb:8:in `block in <top (required)>': undefined method `module_path=' for #<RSpec::Core::Configuration:0x007fd28a857320> (NoMethodError)

but keeping it doesn't make it work either.

I have no success with this example. I can only get the error

Puppet::Error Could not find data item foo_message in any Hiera data file and no default supplied

I have the example code here, if you would have a look https://github.com/larstobi/rspec-hiera-puppet-example

require 'rspec-hiera-puppet'
fixture_path = File.expand_path(File.join(__FILE__, '..', 'fixtures'))

0 comments on commit 17ac62a

Please sign in to comment.