lib/cucumber/chef/steps/ssh_steps.rb in cucumber-chef-2.0.5 vs lib/cucumber/chef/steps/ssh_steps.rb in cucumber-chef-2.0.6

- old
+ new

@@ -28,12 +28,12 @@ end end Then /^I should( not)? see the "([^\"]*)" of "([^\"]*)" in the output$/ do |boolean, key, name| if (!boolean) - @output.should =~ /#{$servers[name][key.downcase.to_sym]}/i + @output.should =~ /#{$drb_test_lab.servers[name][key.downcase.to_sym]}/i else - @output.should_not =~ /#{$servers[name][key.downcase.to_sym]}/i + @output.should_not =~ /#{$drb_test_lab.servers[name][key.downcase.to_sym]}/i end end Then /^(path|directory|file|symlink) "([^\"]*)" should exist$/ do |type, path| parent = File.dirname path