Closed jeremiahlukus closed 7 years ago
the quickest and probably least invasive fix is to move
require 'rpsec/rails' above
require 'spec_helper' in the rails_helper.rb file
so that it looks like the following:
require 'rpsec/rails' require 'spec_helper'
In my case the very same issue was caused by pending migrations on the test env.
RAILS_ENV=test rails db:migrate
did the trick. Of course dev env must be up to date too.
cat ZEUS.LOG
ENV['RAILS_ENV'] ||= 'test'
is in my
rails_helper.rb
not myspec_helper
I am not sure if this is the reason. Zeus server works fine really fast! I really want the tests though ha