Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (14 sloc) 441 Bytes
ENV["RAILS_ENV"] ||= "test"
PROJECT_ROOT = File.expand_path("../..", __FILE__)
$LOAD_PATH << File.join(PROJECT_ROOT, "lib")
require 'rails/all'
require 'rails/test_help'
Bundler.require
require 'diesel/testing'
require 'rspec/rails'
require 'clearance/test_matchers'
Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
RSpec.configure do |config|
config.mock_with :mocha
config.use_transactional_fixtures = true
end
Something went wrong with that request. Please try again.