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
Since update from 1.1.0 to 1.3.1 my specs fail because of "Updater can't be blank"
Is there any way to disable tracking in test env?
I tried something like
Mongoid::History.store[Mongoid::History::GLOBAL_TRACK_HISTORY_FLAG] = false
in my environments/test.rb, but no luck.
Also, even if I set updater in my factory girl factories, something weird is going on,
running single suite of tests passes, but running all of them throws validation errors because of updater missing.
this is both with ruby 2.3.3 and ruby 2.4.1 and with rails 5, rails_admin, mongoid 6.1, rspec and factory girl.
Thanks.
The text was updated successfully, but these errors were encountered:
On Aug 16, 2017, 23:05 +0200, bryannativapps ***@***.***>, wrote:
Did you solved your issue? How? Am in the same spot.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
Since update from 1.1.0 to 1.3.1 my specs fail because of "Updater can't be blank"
Is there any way to disable tracking in test env?
I tried something like
Mongoid::History.store[Mongoid::History::GLOBAL_TRACK_HISTORY_FLAG] = false
in my environments/test.rb, but no luck.
Also, even if I set updater in my factory girl factories, something weird is going on,
running single suite of tests passes, but running all of them throws validation errors because of updater missing.
this is both with ruby 2.3.3 and ruby 2.4.1 and with rails 5, rails_admin, mongoid 6.1, rspec and factory girl.
Thanks.
The text was updated successfully, but these errors were encountered: