Sha256: e5033f324d23e293e6e82788101304ae42b7e7f5db667e423ce643e29d7a76ca

Contents?: true

Size: 486 Bytes

Versions: 26

Compression:

Stored size: 486 Bytes

Contents

require 'factory_girl_rails'
require 'rspec/active_model/mocks'

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

26 entries across 26 versions & 1 rubygems

Version Path
adeia-0.5.2 spec/spec_helper.rb
adeia-0.5.1 spec/spec_helper.rb
adeia-0.5.0 spec/spec_helper.rb
adeia-0.4.0 spec/spec_helper.rb
adeia-0.3.0 spec/spec_helper.rb
adeia-0.2.0 spec/spec_helper.rb