Sha256: 5ac0ad4d689301037701056d98bb8e66c2a054dd550845e062797bdef3918757

Contents?: true

Size: 234 Bytes

Versions: 112

Compression:

Stored size: 234 Bytes

Contents

require 'json'

module FixtureHelpers
  def load_fixture(file_name)
    File.read(File.join("./spec/fixtures", file_name))
  end

  def load_json_fixture(file_name)
    require 'json'
    JSON.parse(load_fixture(file_name))
  end
end

Version data entries

112 entries across 112 versions & 1 rubygems

Version Path
pact_broker-2.79.1 db/test/backwards_compatibility/spec/support/fixture_helpers.rb
pact_broker-2.79.0 db/test/backwards_compatibility/spec/support/fixture_helpers.rb
pact_broker-2.78.1 db/test/backwards_compatibility/spec/support/fixture_helpers.rb
pact_broker-2.78.0 db/test/backwards_compatibility/spec/support/fixture_helpers.rb
pact_broker-2.77.0 db/test/backwards_compatibility/spec/support/fixture_helpers.rb
pact_broker-2.76.2 db/test/backwards_compatibility/spec/support/fixture_helpers.rb
pact_broker-2.76.1 db/test/backwards_compatibility/spec/support/fixture_helpers.rb
pact_broker-2.76.0 db/test/backwards_compatibility/spec/support/fixture_helpers.rb
pact_broker-2.75.0 db/test/backwards_compatibility/spec/support/fixture_helpers.rb
pact_broker-2.74.1 db/test/backwards_compatibility/spec/support/fixture_helpers.rb
pact_broker-2.74.0 db/test/backwards_compatibility/spec/support/fixture_helpers.rb
pact_broker-2.73.0 db/test/backwards_compatibility/spec/support/fixture_helpers.rb
pact_broker-2.72.0 db/test/backwards_compatibility/spec/support/fixture_helpers.rb
pact_broker-2.71.0 db/test/backwards_compatibility/spec/support/fixture_helpers.rb
pact_broker-2.70.0 db/test/backwards_compatibility/spec/support/fixture_helpers.rb
pact_broker-2.69.0 db/test/backwards_compatibility/spec/support/fixture_helpers.rb
pact_broker-2.68.1 db/test/backwards_compatibility/spec/support/fixture_helpers.rb
pact_broker-2.68.0 db/test/backwards_compatibility/spec/support/fixture_helpers.rb
pact_broker-2.67.0 db/test/backwards_compatibility/spec/support/fixture_helpers.rb
pact_broker-2.66.0 db/test/backwards_compatibility/spec/support/fixture_helpers.rb