lib/cuken/cucumber/chef/knife.rb in cuken-0.1.13 vs lib/cuken/cucumber/chef/knife.rb in cuken-0.1.15
- old
+ new
@@ -20,10 +20,10 @@
# limitations under the License.
#
World(::Cuken::Api::Chef::Knife)
Given /^the Knife file "([^"]*)"$/ do |path|
- in_current_dir do
+ in_dir do
chef.knife_config_file = Pathname(path).expand_path.realdirpath
end
end
When /^I successfully run Knife's "([^"]*)"$/ do |cmd|