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

Version Path
suspenders-0.3 features/step_definitions/shell.rb
suspenders-0.2.7 features/step_definitions/shell.rb
suspenders-0.2.6 features/step_definitions/shell.rb
suspenders-0.2.5 features/step_definitions/shell.rb
suspenders-0.2.4 features/step_definitions/shell.rb
suspenders-0.2.3 features/step_definitions/shell.rb
suspenders-0.2.2 features/step_definitions/shell.rb
suspenders-0.2.1 features/step_definitions/shell.rb
suspenders-0.2.0 features/step_definitions/shell.rb
suspenders-0.1.0.beta.7 features/step_definitions/shell.rb
suspenders-0.1.0.beta.6 features/step_definitions/shell.rb
suspenders-0.1.0.beta.5 features/step_definitions/shell.rb
suspenders-0.1.0.beta.4 features/step_definitions/shell.rb
suspenders-0.1.0.beta.3 features/step_definitions/shell.rb
suspenders-0.1.0.beta.2 features/step_definitions/shell.rb
suspenders-0.1.0.beta.1 features/step_definitions/shell.rb