You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ActiveRecord::EnvironmentMismatchError: You are attempting to modify a database that was last run in`development` environment.
You are running in`test` environment. If you are sure you want to continue, first set the environment using:
bin/rails db:environment:set RAILS_ENV=test
Tasks: TOP => db:test:load => db:test:purge => db:check_protected_environments
(See full trace by running task with --trace)
The text was updated successfully, but these errors were encountered:
Hello @the-teacher if you are using windows run this command => rails db:environment:set RAILS_ENV=test, and if you are using a different OS you can run this command bin/rails db:environment:set RAILS_ENV=test
rspec -f documentation
The text was updated successfully, but these errors were encountered: