summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortyler-ball <tyleraball@gmail.com>2014-11-25 14:42:58 -0800
committertyler-ball <tyleraball@gmail.com>2014-11-25 14:42:58 -0800
commit2cabf9c5ba969ff89128d5334e36a76c766fce93 (patch)
tree83320c68a1a774b8ba0bbf1ac87d5c1d667047df
parentda82c48f30106a241090653281b25ea3ae09e467 (diff)
downloadchef-2cabf9c5ba969ff89128d5334e36a76c766fce93.tar.gz
Fixing failing tests on merge
-rw-r--r--spec/unit/knife/node_run_list_remove_spec.rb8
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