Sha256: be94e33f64ab59ed64d5915388d5a693f8a67e9bb3bff84043e7afba8f55aac2

Contents?: true

Size: 522 Bytes

Versions: 2

Compression:

Stored size: 522 Bytes

Contents

# Configure Rails Environment
ENV["RAILS_ENV"] = "test"
require "spec_helper"
require 'pry'
require 'factory_girl_rails'
require File.expand_path("../dummy/config/environment.rb",  __FILE__)
require 'rspec/rails'

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

ActiveRecord::Migration.maintain_test_schema!

RSpec.configure do |config|
  config.use_transactional_fixtures = true
  config.infer_spec_type_from_file_location!

  config.include FactoryGirl::Syntax::Methods
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ar-translatable-0.0.2 spec/rails_helper.rb
ar-translatable-0.0.1 spec/rails_helper.rb