spec/capistrano/chef_spec.rb in capistrano-chef-0.0.5 vs spec/capistrano/chef_spec.rb in capistrano-chef-0.0.6
- old
+ new
@@ -36,10 +36,9 @@
before do
# Stub knife config
@knife = mock('Chef::Knife')
Chef::Knife.stub!(:new).and_return(@knife)
@knife.stub!(:configure_chef)
- @knife.stub!(:config=)
# Load into capistrano configuration
@configuration = Capistrano::Configuration.new
Capistrano::Chef.load_into(@configuration)