Sha256: 4d53a4746b01177062e85a8df39c1de15e1a77a4487aa92d35dab2a5ab01d286

Contents?: true

Size: 624 Bytes

Versions: 6

Compression:

Stored size: 624 Bytes

Contents

# Configure Rails Environment
ENV["RAILS_ENV"] ||= "test"

require File.expand_path("../../spec/dummy/config/environment.rb",  __FILE__)
ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../spec/dummy/db/migrate", __FILE__)]
require "rails/test_help"

require 'rspec/rails'
require 'factory_girl_rails'
require 'pry'

# Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

ActiveRecord::Migration.check_pending! if defined?(ActiveRecord::Migration)

RSpec.configure do |config|
  config.use_transactional_fixtures = true
  config.include FactoryGirl::Syntax::Methods
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
repor-0.1.0 spec/spec_helper.rb
repor-0.0.5 spec/spec_helper.rb
repor-0.0.4 spec/spec_helper.rb
repor-0.0.3 spec/spec_helper.rb
repor-0.0.2 spec/spec_helper.rb
repor-0.0.1 spec/spec_helper.rb