Sha256: 119975e16acac709892419740209dc81e6662cb6898ad6af91a7fdfbf7686dd0

Contents?: true

Size: 269 Bytes

Versions: 53

Compression:

Stored size: 269 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)
    Rollbar::JSON.load(File.read(fixture_file(relative_path)))
  end
end

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
rollbar-2.18.2 spec/support/fixture_helpers.rb
rollbar-2.18.0 spec/support/fixture_helpers.rb
rollbar-2.17.0 spec/support/fixture_helpers.rb
rollbar-2.16.4 spec/support/fixture_helpers.rb
rollbar-2.16.3 spec/support/fixture_helpers.rb
rollbar-2.16.2 spec/support/fixture_helpers.rb
rollbar-2.16.0 spec/support/fixture_helpers.rb
rollbar-2.15.6 spec/support/fixture_helpers.rb
rollbar-2.15.5 spec/support/fixture_helpers.rb
rollbar-2.15.4 spec/support/fixture_helpers.rb
rollbar-2.15.3 spec/support/fixture_helpers.rb
rollbar-2.15.2 spec/support/fixture_helpers.rb
rollbar-2.15.1 spec/support/fixture_helpers.rb
rollbar-2.15.0 spec/support/fixture_helpers.rb
rollbar-2.14.1 spec/support/fixture_helpers.rb
rollbar-2.14.0 spec/support/fixture_helpers.rb
rollbar-2.13.3 spec/support/fixture_helpers.rb
rollbar-2.13.2 spec/support/fixture_helpers.rb
rollbar-2.13.1 spec/support/fixture_helpers.rb
rollbar-2.13.0 spec/support/fixture_helpers.rb