features/step_definitions/shell.rb in suspenders-0.0.4 vs features/step_definitions/shell.rb in suspenders-0.1.0.beta.1
- old
+ new
@@ -4,10 +4,10 @@
end
end
When 'I generate "$generator_with_args"' do |generator_with_args|
Dir.chdir('test_project') do
- system("./script/generate #{generator_with_args}")
+ system("rails generate #{generator_with_args}")
end
end
Then 'I see a successful response in the shell' do
$?.to_i.should == 0