Sha256: 4f99488ada65d3a0c85fd4b8e4c2d3bed6245268ba03b7890c98ebd6884831e5

Contents?: true

Size: 581 Bytes

Versions: 37

Compression:

Stored size: 581 Bytes

Contents

require 'factory_girl'
require './lib/jsonapi-serializers'
require './spec/support/serializers'

RSpec.configure do |config|
  config.include FactoryGirl::Syntax::Methods

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

  config.before(:each) do
    # Force FactoryGirl sequences to be fully reset before each test run to simplify ID testing
    # since we are not using a database or real fixtures. Inside of each test case, IDs will
    # increment per type starting at 1.
    FactoryGirl.reload
    load './spec/support/factory.rb'
  end
end

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
forestadmin-jsonapi-serializers-2.0.0.pre.beta.2 spec/spec_helper.rb
jsonapi-serializers-2.0.0.pre.beta.2 spec/spec_helper.rb
jsonapi-serializers-2.0.0.pre.beta.1 spec/spec_helper.rb
jsonapi-serializers-1.0.1 spec/spec_helper.rb
jsonapi-serializers-1.0.0 spec/spec_helper.rb
jsonapi-serializers-0.16.2 spec/spec_helper.rb
jsonapi-serializers-0.16.1 spec/spec_helper.rb
jsonapi-serializers-0.16.0 spec/spec_helper.rb
jsonapi-serializers-0.15.0 spec/spec_helper.rb
jsonapi-serializers-0.14.0 spec/spec_helper.rb
jsonapi-serializers-0.13.0 spec/spec_helper.rb
jsonapi-serializers-0.12.0 spec/spec_helper.rb
jsonapi-serializers-0.11.0 spec/spec_helper.rb
jsonapi-serializers-0.10.0 spec/spec_helper.rb
jsonapi-serializers-0.9.0 spec/spec_helper.rb
jsonapi-serializers-0.8.0 spec/spec_helper.rb
jsonapi-serializers-0.7.0 spec/spec_helper.rb
jsonapi-serializers-0.6.5 spec/spec_helper.rb
jsonapi-serializers-0.6.4 spec/spec_helper.rb
jsonapi-serializers-0.6.3 spec/spec_helper.rb