Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 21 lines (19 sloc) 0.812 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
@disable-bundler
Feature: Rake works in the suspended project

Scenario: Running rake in the suspended project
When I suspend a project called "test_project"
And I cd to the "test_project" root
When I drop and create the required databases
And I run the rake task "db:create"
And I run the rake task "db:migrate"
And I run the rake task "db:test:prepare"
And I run rake
Then I see a successful response in the shell

Scenario: Making a spec then running rake
When I drop and create the required databases
And I suspend a project called "test_project"
And I generate "model post title:string"
And I run the rake task "db:migrate"
And I run the rake task "db:test:prepare"
And I run the rake task "spec"
Then I see a successful response in the shell
Something went wrong with that request. Please try again.