On Sunday, November 18, 2012 at 9:56 PM, Brian Scott wrote:
Has anyone run across an error like this using ChefSpec?Failures:1) apt::default should always update-notifier-commonFailure/Error: let(:chef_run) { ChefSpec::ChefRunner.new.converge 'apt::default' }TypeError:can't convert Symbol into Integer# ./cookbooks/bluepill/attributes/default.rb:18:in `[]'# ./cookbooks/bluepill/attributes/default.rb:18:in `from_file'# ./cookbooks/apt/spec/default_spec.rb:10:in `block (2 levels) in <top (required)>'# ./cookbooks/apt/spec/default_spec.rb:14:in `block (2 levels) in <top (required)>'Finished in 6.6 seconds1 example, 1 failureFailed examples:rspec ./cookbooks/apt/spec/default_spec.rb:12 # apt::default should always update-notifier-commonFull Details:
Archive powered by MHonArc 2.6.16.