Sha256: 378b94dd5748211e9df570941521d5a64968269e043b5aa35f07a82d47fef659

Contents?: true

Size: 544 Bytes

Versions: 6

Compression:

Stored size: 544 Bytes

Contents

require 'factory_girl_rails'
require 'capybara/rspec'
require 'rspec/active_model/mocks'
require 'rails-controller-testing'

FactoryGirl.definition_file_paths = [ File.join(File.dirname(__FILE__), '../spec/factories') ]
FactoryGirl.find_definitions

RSpec.configure do |config|

  config.expect_with :rspec do |expectations|
    expectations.include_chain_clauses_in_custom_matcher_descriptions = true
  end

  config.mock_with :rspec do |mocks|
    mocks.verify_partial_doubles = true
  end

  config.include FactoryGirl::Syntax::Methods

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
adeia-0.15.4 spec/spec_helper.rb
adeia-0.15.3 spec/spec_helper.rb
adeia-0.15.2 spec/spec_helper.rb
adeia-0.15.1 spec/spec_helper.rb
adeia-0.15.0 spec/spec_helper.rb
adeia-0.14.0 spec/spec_helper.rb