diff options
author | sdelano <stephen@opscode.com> | 2011-03-16 13:28:43 -0700 |
---|---|---|
committer | sdelano <stephen@opscode.com> | 2011-03-16 13:28:43 -0700 |
commit | efd6f0e6e98cc4e013351f7614a827a0628fcf65 (patch) | |
tree | 77c41477f37e8a3679361f90f16103e97a25dfd0 /features | |
parent | 6b322613aeac4292f4c47bb5a7c2bc09830c0b22 (diff) | |
download | chef-efd6f0e6e98cc4e013351f7614a827a0628fcf65.tar.gz |
rspec upgrade: don't use ::Spec anymore
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/knife_steps.rb | 2 |
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 |