Sha256: 44793eeec6b592455a9360fc20ad70c0755f078af5d9748fda1d2a9ebc4747fc

Contents?: true

Size: 265 Bytes

Versions: 15

Compression:

Stored size: 265 Bytes

Contents

module FixtureHelpers
  def fixture_file(relative_path)
    root = File.expand_path('../../fixtures', __FILE__)
    File.join(root, relative_path)
  end

  def load_payload_fixture(relative_path)
    MultiJson.load(File.read(fixture_file(relative_path)))
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
rollbar-1.5.3 spec/support/fixture_helpers.rb
rollbar-1.5.2 spec/support/fixture_helpers.rb
rollbar-1.5.1 spec/support/fixture_helpers.rb
rollbar-1.5.0 spec/support/fixture_helpers.rb
rollbar-1.4.5 spec/support/fixture_helpers.rb
rollbar-1.4.4 spec/support/fixture_helpers.rb
rollbar-1.4.3 spec/support/fixture_helpers.rb
rollbar-1.4.2 spec/support/fixture_helpers.rb
rollbar-1.4.1 spec/support/fixture_helpers.rb
rollbar-1.4.0 spec/support/fixture_helpers.rb
rollbar-1.3.2 spec/support/fixture_helpers.rb
rollbar-1.3.1 spec/support/fixture_helpers.rb
rollbar-1.3.0 spec/support/fixture_helpers.rb
rollbar-1.2.13 spec/support/fixture_helpers.rb
rollbar-1.2.12 spec/support/fixture_helpers.rb