Open yeuem1vannam opened 9 years ago
ActiveRecord::Migration.maintain_test_schema!
will be inserted in spec_helper automatically, if you use rpsec-rails
and excute rails g rspec:install
. but it depends on user.
Is it better to fix? How do you think?
The rake task
db:test:prepare
is deprecated. https://github.com/framgia/stirling/blob/master/lib/tasks/recreate_db.rake#L4 Instead, we can insertto
spec_helper.rb
if the PJ using RSPEC