lib/potassium/templates/application/assets/testing/rails_helper.rb in potassium-1.1.0 vs lib/potassium/templates/application/assets/testing/rails_helper.rb in potassium-1.2.0
- old
+ new
@@ -1,9 +1,9 @@
# This file is copied to spec/ when you run 'rails generate rspec:install'
ENV['RAILS_ENV'] ||= 'test'
-require 'spec_helper'
require File.expand_path('../../config/environment', __FILE__)
require 'rspec/rails'
+require 'spec_helper'
require 'shoulda/matchers'
# Add additional requires below this line. Rails is not loaded until this point!
# Requires supporting ruby files with custom matchers and macros, etc, in
# spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are