Permalink
Find file
2c11f8b Oct 4, 2016
19 lines (13 sloc) 429 Bytes
# frozen_string_literal: true
ENV['RAILS_ENV'] ||= 'test'
require 'rails/all'
require 'factory_girl'
require 'factory_girl_rails'
require 'rspec/rails'
require 'shoulda/matchers'
system({"RAILS_ENV" => "test"}, "cd spec/support/rails_app ; bin/rails db:reset")
require 'support/rails_app/config/environment'
require 'support/database_cleaner'
require 'support/factory_girl'
require 'support/factories'
require 'spec_helper'