diff options
author | tyler-ball <tyleraball@gmail.com> | 2014-11-25 14:42:58 -0800 |
---|---|---|
committer | tyler-ball <tyleraball@gmail.com> | 2014-11-25 14:42:58 -0800 |
commit | 2cabf9c5ba969ff89128d5334e36a76c766fce93 (patch) | |
tree | 83320c68a1a774b8ba0bbf1ac87d5c1d667047df | |
parent | da82c48f30106a241090653281b25ea3ae09e467 (diff) | |
download | chef-2cabf9c5ba969ff89128d5334e36a76c766fce93.tar.gz |
Fixing failing tests on merge
-rw-r--r-- | spec/unit/knife/node_run_list_remove_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/unit/knife/node_run_list_remove_spec.rb b/spec/unit/knife/node_run_list_remove_spec.rb index 2c3d29ae73..ceceef7178 100644 --- a/spec/unit/knife/node_run_list_remove_spec.rb +++ b/spec/unit/knife/node_run_list_remove_spec.rb @@ -72,8 +72,8 @@ describe Chef::Knife::NodeRunListRemove do @node.run_list << 'recipe[duck::type]' @knife.name_args = [ 'adam', 'role[monkey], recipe[duck::type]' ] @knife.run - @node.run_list.should_not include('role[monkey]') - @node.run_list.should_not include('recipe[duck::type]') + expect(@node.run_list).not_to include('role[monkey]') + expect(@node.run_list).not_to include('recipe[duck::type]') end it "should remove the items from the run list when name args contains multiple run lists" do @@ -81,8 +81,8 @@ describe Chef::Knife::NodeRunListRemove do @node.run_list << 'recipe[duck::type]' @knife.name_args = [ 'adam', 'role[monkey], recipe[duck::type]', 'role[blah]' ] @knife.run - @node.run_list.should_not include('role[monkey]') - @node.run_list.should_not include('recipe[duck::type]') + expect(@node.run_list).not_to include('role[monkey]') + expect(@node.run_list).not_to include('recipe[duck::type]') end end end |