Change order in requires to fix tests
This commit is contained in:
@@ -2,8 +2,8 @@ ENV['RAILS_ENV'] ||= 'test'
|
|||||||
require File.expand_path('../../config/environment', __FILE__)
|
require File.expand_path('../../config/environment', __FILE__)
|
||||||
abort("The Rails environment is running in production mode!") if Rails.env.production?
|
abort("The Rails environment is running in production mode!") if Rails.env.production?
|
||||||
|
|
||||||
require 'spec_helper'
|
|
||||||
require 'rspec/rails'
|
require 'rspec/rails'
|
||||||
|
require 'spec_helper'
|
||||||
require 'capybara/rails'
|
require 'capybara/rails'
|
||||||
require 'capybara/rspec'
|
require 'capybara/rspec'
|
||||||
require 'capybara/poltergeist'
|
require 'capybara/poltergeist'
|
||||||
|
|||||||
Reference in New Issue
Block a user