summaryrefslogtreecommitdiff
path: root/features/steps/knife_steps.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/steps/knife_steps.rb')
-rw-r--r--features/steps/knife_steps.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/knife_steps.rb b/features/steps/knife_steps.rb
index 22a62621f0..680cedc433 100644
--- a/features/steps/knife_steps.rb
+++ b/features/steps/knife_steps.rb
@@ -11,7 +11,7 @@ When "I run knife '$knife_subcommand'" do |knife_subcommand|
@knife_command_result = shell_out("#{KNIFE_CMD} #{knife_subcommand} -c #{KNIFE_CONFIG}")
end
-Spec::Matchers.define :be_successful do
+RSpec::Matchers.define :be_successful do
match do |shell_out_result|
shell_out_result.status.success?
end