summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorsdelano <stephen@opscode.com>2011-03-16 13:28:43 -0700
committersdelano <stephen@opscode.com>2011-03-16 13:28:43 -0700
commitefd6f0e6e98cc4e013351f7614a827a0628fcf65 (patch)
tree77c41477f37e8a3679361f90f16103e97a25dfd0 /features
parent6b322613aeac4292f4c47bb5a7c2bc09830c0b22 (diff)
downloadchef-efd6f0e6e98cc4e013351f7614a827a0628fcf65.tar.gz
rspec upgrade: don't use ::Spec anymore
Diffstat (limited to 'features')
-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