features/step_definitions/revenc_steps.rb in revenc-0.1.3 vs features/step_definitions/revenc_steps.rb in revenc-0.2.1
- old
+ new
@@ -45,11 +45,11 @@
end
When /^I run with a lock file present "(.*)"$/ do |cmd|
lockfile = File.join(current_dir, 'revenc.lck')
Mutagem::Mutex.new(lockfile).execute do
- run(unescape(cmd), false)
+ run_simple(unescape(cmd), false)
end
end
Then /^the folder "([^\"]*)" should not be mounted$/ do |folder_name|
folder = Revenc::FileFolder.new(File.join(current_dir, folder_name))
@@ -60,6 +60,5 @@
Then /^the folder "([^\"]*)" should be mounted$/ do |folder_name|
folder = Revenc::FileFolder.new(File.join(current_dir, folder_name))
folder.exists?.should be_true
folder.should_not be_empty
end
-