features/step_definitions/revenc_steps.rb in revenc-0.1.2 vs features/step_definitions/revenc_steps.rb in revenc-0.1.3
- old
+ new
@@ -1,5 +1,6 @@
+require 'mutagem'
require 'revenc/io'
Given /^a valid encfs keyfile named "([^\"]*)"$/ do |filename|
steps %Q{
Given a file named "#{filename}" with:
@@ -43,11 +44,11 @@
}
end
When /^I run with a lock file present "(.*)"$/ do |cmd|
lockfile = File.join(current_dir, 'revenc.lck')
- Revenc::Mutex.new(lockfile).execute do
- run(unescape(cmd))
+ Mutagem::Mutex.new(lockfile).execute do
+ run(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))