Closed Sjeanpierre closed 4 years ago
What do you mean?
https://github.com/kenn/standby/blob/master/spec/spec_helper.rb#L4
There's a line in spec_helper.rb
:
ENV['RACK_ENV'] = 'test'
and tests should just run with rake
without any options. Am I missing anything?
It was not obvious at first glance that RAILS_ENV needed to be set to
test
in order to get test to work.