get all the tests working with the new binary

This commit is contained in:
Thomas Reynolds 2011-07-26 23:19:43 -07:00
parent 4569d597f5
commit 2634c4156f
9 changed files with 46 additions and 27 deletions

View file

@ -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