lib/cucumber/chef/steps/ssh_steps.rb in cucumber-chef-2.1.0.rc.14 vs lib/cucumber/chef/steps/ssh_steps.rb in cucumber-chef-2.1.0.rc.15

- old
+ new

@@ -73,12 +73,12 @@ end end Then /^I should( not)? see the "([^\"]*)" of "([^\"]*)" in the output$/ do |boolean, key, name| if (!boolean) - @output.should =~ /#{$test_lab.drb.containers[name][key.downcase.to_sym]}/i + @output.should =~ /#{$test_lab.containers.to_a[name][key.downcase.to_sym]}/i else - @output.should_not =~ /#{$test_lab.drb.containers[name][key.downcase.to_sym]}/i + @output.should_not =~ /#{$test_lab.containers.to_a[name][key.downcase.to_sym]}/i end end Then /^the exit code should be "([^\"]*)"$/ do |exit_code| @exit_code.to_i.should == exit_code.to_i