spec/spec_helper.rb in expense_gun-1.0.0 vs spec/spec_helper.rb in expense_gun-1.0.1
- old
+ new
@@ -1,4 +1,9 @@
+ENV["RAILS_ENV"] = 'test'
+require 'spec_helper'
+require File.expand_path("../dummy/config/environment", __FILE__)
+require 'rspec/rails'
+
# This file was generated by the `rails generate rspec:install` command. Conventionally, all
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
# The generated `.rspec` file contains `--require spec_helper` which will cause this
# file to always be loaded, without a need to explicitly require it in any files.
#