summaryrefslogtreecommitdiff
path: root/spec/integration/knife/node_run_list_remove_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/integration/knife/node_run_list_remove_spec.rb')
-rw-r--r--spec/integration/knife/node_run_list_remove_spec.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/integration/knife/node_run_list_remove_spec.rb b/spec/integration/knife/node_run_list_remove_spec.rb
index e85e3ed8e8..55f224b5ac 100644
--- a/spec/integration/knife/node_run_list_remove_spec.rb
+++ b/spec/integration/knife/node_run_list_remove_spec.rb
@@ -1,5 +1,5 @@
#
-# Copyright:: Copyright 2013-2016, Chef Software Inc.
+# Copyright:: Copyright (c) Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,6 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+require "spec_helper"
require "support/shared/integration/integration_helper"
require "support/shared/context/config"
@@ -29,7 +30,7 @@ describe "knife node run list remove", :workstation do
end
it "removes the item from the run list" do
- knife("node run list remove cons recipe[bar]").should_succeed /run_list:\s*recipe\[foo\]\n/m
+ knife("node run list remove cons recipe[bar]").should_succeed(/run_list:\s*recipe\[foo\]\n/m)
end
end
end