Sha256: 3e4f44ef3bfe78f7faeada04b5f01e658278375205cf7bb351876dadd2679f96
Contents?: true
Size: 684 Bytes
Versions: 1
Compression:
Stored size: 684 Bytes
Contents
ENV['RAILS_ENV'] ||= 'test' require 'spec_helper' require File.expand_path('../test_app/config/environment', __FILE__) require 'rspec/rails' require 'factory_girl_rails' require 'shoulda/matchers' require 'pry' if defined?(ActiveRecord::Migration.maintain_test_schema!) ActiveRecord::Migration.maintain_test_schema! end RSpec.configure do |config| config.include FactoryGirl::Syntax::Methods config.fixture_path = "#{::Rails.root}/spec/fixtures" config.use_transactional_fixtures = true config.infer_spec_type_from_file_location! end Shoulda::Matchers.configure do |config| config.integrate do |with| with.test_framework :rspec with.library :rails end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
devise_sessionable-0.1.0 | spec/rails_helper.rb |