features/support/minable_support.rb in minable-0.0.2 vs features/support/minable_support.rb in minable-0.1.1
- old
+ new
@@ -1,18 +1,18 @@
module MinableSupport
def install_minable(path = nil)
if path
run_simple("bundle exec minable install --path '#{path}'")
else
- run_simple("bundle exec minable install")
+ run_simple('bundle exec minable install')
end
end
def minable_path(prefix, path)
if prefix
- File.join(prefix, 'minable', path)
+ File.join(prefix, path)
else
- File.join('minable', path)
+ path
end
end
end
World(MinableSupport)