get all the tests working with the new binary
This commit is contained in:
parent
4569d597f5
commit
2634c4156f
9 changed files with 46 additions and 27 deletions
|
@ -2,7 +2,7 @@ require 'fileutils'
|
|||
|
||||
Given /^generated directory at "([^\"]*)"$/ do |dirname|
|
||||
target = File.join(File.dirname(File.dirname(File.dirname(__FILE__))), "fixtures", dirname)
|
||||
init_cmd = File.expand_path(File.join(File.dirname(File.dirname(File.dirname(__FILE__))), "bin", "mm-init"))
|
||||
init_cmd = File.expand_path(File.join(File.dirname(File.dirname(File.dirname(__FILE__))), "bin", "mm init"))
|
||||
`cd #{File.dirname(target)} && #{init_cmd} #{File.basename(target)}`
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue