- From: Brian Scott <
>
- To: chef <
>
- Subject: [chef] ChefSpec - can't convert Symbol into Integer
- Date: Sun, 18 Nov 2012 21:56:30 -0800
Has anyone run across an error like this using ChefSpec?
Failures:
1) apt::default should always update-notifier-common
Failure/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 seconds
1 example, 1 failure
Failed examples:
rspec ./cookbooks/apt/spec/default_spec.rb:12 # apt::default should always update-notifier-common
Full Details:
- [chef] ChefSpec - can't convert Symbol into Integer, Brian Scott, 11/18/2012
Archive powered by MHonArc 2.6.16.