Sha256: f1d00ca7718dd630d68992650abe79388cc3b5b008b812b0eeea76a514e88bf7

Contents?: true

Size: 614 Bytes

Versions: 12

Compression:

Stored size: 614 Bytes

Contents

ENV['RAILS_ENV'] ||= 'test'
require 'spec_helper'
require File.expand_path('../../config/environment', __FILE__)
require 'rspec/rails'
require 'shoulda/matchers'
require 'email_spec'

Dir[Rails.root.join('spec/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.render_views
  config.include FactoryGirl::Syntax::Methods
  config.include EmailSpec::Helpers
  config.include EmailSpec::Matchers
  config.include ActiveSupport::Testing::TimeHelpers
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
pah-0.0.28 lib/pah/files/spec/rails_helper.rb
pah-0.0.27 lib/pah/files/spec/rails_helper.rb
pah-0.0.26 lib/pah/files/spec/rails_helper.rb
pah-0.0.25 lib/pah/files/spec/rails_helper.rb
pah-0.0.24 lib/pah/files/spec/rails_helper.rb
pah-0.0.23 lib/pah/files/spec/rails_helper.rb
pah-0.0.22 lib/pah/files/spec/rails_helper.rb
pah-0.0.21 lib/pah/files/spec/rails_helper.rb
pah-0.0.20 lib/pah/files/spec/rails_helper.rb
pah-0.0.19 lib/pah/files/spec/rails_helper.rb
pah-0.0.17 lib/pah/files/spec/rails_helper.rb
pah-0.0.16 lib/pah/files/spec/rails_helper.rb