Sha256: 59c854a7c5d89927d2d36af57315ad3e30dcce294247cd95f10e1fd7bb5994ab
Contents?: true
Size: 601 Bytes
Versions: 16
Compression:
Stored size: 601 Bytes
Contents
When 'I run the rake task "$task_name"' do |task_name| Dir.chdir('test_project') do system("rake #{task_name}") end end When 'I generate "$generator_with_args"' do |generator_with_args| Dir.chdir('test_project') do system("rails generate #{generator_with_args}") end end Then 'I see a successful response in the shell' do $?.to_i.should == 0 end When 'I drop and create the required databases' do Dir.chdir('test_project') do system("rake db:drop RAILS_ENV=test") system("rake db:drop") system("rake db:create RAILS_ENV=test") system("rake db:create") end end
Version data entries
16 entries across 16 versions & 1 rubygems