mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
Fix Cucumber tests to run migrations in test env
Under the Rails 4.1 appraisal the Cucumber tests are failing because of this error: Migrations are pending. To resolve this issue, run: bin/rake db:migrate RAILS_ENV=test
This commit is contained in:
parent
fd31534045
commit
d959505287
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ Feature: integrate with Rails
|
|||
end
|
||||
end
|
||||
"""
|
||||
When I successfully run `bundle exec rake db:migrate --trace`
|
||||
When I successfully run `bundle exec rake db:migrate db:test:prepare --trace`
|
||||
And I write to "app/models/user.rb" with:
|
||||
"""
|
||||
class User < ActiveRecord::Base
|
||||
|
|
Loading…
Add table
Reference in a new issue