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
Currently, none of the tests rely on an actual database model, using only ActiveModel::Model classes instead.
To test against an ActiveRecord model, we need to set up this development dependency and helper code to spin up a test database (sqlite is fine). Typically this is accomplished using a "dummy" rails app at spec/dummy, and a spec/rails_helper.rb setup file that can be required in Rails-specific tests.
The text was updated successfully, but these errors were encountered:
Currently, none of the tests rely on an actual database model, using only
ActiveModel::Model
classes instead.To test against an ActiveRecord model, we need to set up this development dependency and helper code to spin up a test database (sqlite is fine). Typically this is accomplished using a "dummy" rails app at
spec/dummy
, and aspec/rails_helper.rb
setup file that can be required in Rails-specific tests.The text was updated successfully, but these errors were encountered: