Sha256: 424523e4b8e96a243173db04020ca9e2326f560f51169804772e583dc7c06075

Contents?: true

Size: 157 Bytes

Versions: 7

Compression:

Stored size: 157 Bytes

Contents

def read_fixture(name, ext = :json)
  File.read(File.expand_path("../../../lib/shopify-mock/fixtures/%s", __FILE__) %
    "#{name.to_s}.#{ext.to_s}"
  )
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
shopify-mock-new-0.1 spec/support/fixture_support.rb
shopify-mock-0.1.2 spec/support/fixture_support.rb
shopify-mock-0.1.1 spec/support/fixture_support.rb
shopify-mock-0.1.0 spec/support/fixture_support.rb
shopify-mock-0.0.3 spec/support/fixture_support.rb
shopify-mock-0.0.2 spec/support/fixture_support.rb
shopify-mock-0.0.1 spec/support/fixture_support.rb