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
bundle exec rspec spec
An error occurred in a `before(:suite)` hook.
Failure/Error: DatabaseRewinder.clean_all
NoMethodError:
undefined method `empty?' for nil:NilClass
Finished in 0.01801 seconds (files took 1.09 seconds to load)
0 examples, 0 failures
Not sure this will help, but thought I would post it up just in case!
We are currently looking to implement this gem in a Rails Engine, however the Railtie initializer does not load.
https://github.com/amatsuda/database_rewinder/blob/master/lib/database_rewinder/railtie.rb#L4
I am not familiar enough with Railtie to understand what would need to be changed to make this work or if it is possible at all.
Do you know if this is possible to run in an Engine?
The text was updated successfully, but these errors were encountered: