Sha256: 1af17e71536f0c192cae2f606337c2a4c442d4f37473085e8d5043cd456353e9

Contents?: true

Size: 644 Bytes

Versions: 3

Compression:

Stored size: 644 Bytes

Contents

ENV["RAILS_ENV"] ||= 'test'

require File.expand_path("../dummy/config/environment", __FILE__)
require 'rspec/rails'
require 'spec_helper'
require 'factory_girl_rails'

ENGINE_RAILS_ROOT=File.join(File.dirname(__FILE__), '../')
Dir[File.join(ENGINE_RAILS_ROOT, "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.order = :random
  config.render_views
  config.include FactoryGirl::Syntax::Methods

  FactoryGirl::SyntaxRunner.send(:include, RSpec::Mocks::ExampleMethods)
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
admin_invitable-0.0.3 spec/rails_helper.rb
admin_invitable-0.0.2 spec/rails_helper.rb
admin_invitable-0.0.1 spec/rails_helper.rb