In env.rb I have:
AfterConfiguration do |config|
So that I have necessary roles to create users.
-10-07 20:22:29] ERROR RuntimeError: Called id for nil, which would mistakenly be 4 – if you really wanted the id of nil, use object_id
And when I check on the db, my factories are not there, i.e. Role.all = .
I have tried everything including creating the data directly in the associated step itself and to no avail. Any advice? I am going to be doing a lot of ajax/js testing, should I ditch Capybara in favor of Selenium?