- rails 4.1 で
db:test:prepare
が Deprecated (Deprecated rake db:test:* tasks as the test database is now automatically maintained. See railties release notes.) -
spec_helper
にActiveRecord::Migration.maintain_test_schema!
を足せばいい。 - 新しい
rspec-rails
なら対応しているのでrails g rspec:install
で生成し直すのでも OK
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
List of users who liked
87