Sha256: 5179e1436536b1c7434dc5eeb3118cb427f56ba42979a80873103c185aaf24ca

Contents?: true

Size: 357 Bytes

Versions: 15

Compression:

Stored size: 357 Bytes

Contents

require 'spec_helper'
require 'integration/shared_examples/rack_examples'

RSpec.describe "Sinatra integration specs" do
  let(:app) { DummyApp }

  include_examples 'rack examples'

  describe "context payload" do
    it "includes version" do
      get '/crash'
      wait_for_a_request_with_body(/"context":{.*"version":"1.2.3 Sinatra/)
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
airbrake-5.4.1 spec/integration/sinatra/sinatra_spec.rb
airbrake-5.4.0 spec/integration/sinatra/sinatra_spec.rb
airbrake-5.3.0 spec/integration/sinatra/sinatra_spec.rb
airbrake-5.2.3 spec/integration/sinatra/sinatra_spec.rb
airbrake-5.2.2 spec/integration/sinatra/sinatra_spec.rb
airbrake-5.2.1 spec/integration/sinatra/sinatra_spec.rb
airbrake-5.2.0 spec/integration/sinatra/sinatra_spec.rb
airbrake-5.1.0 spec/integration/sinatra/sinatra_spec.rb
airbrake-5.0.5 spec/integration/sinatra/sinatra_spec.rb
airbrake-5.0.4 spec/integration/sinatra/sinatra_spec.rb
airbrake-5.0.3 spec/integration/sinatra/sinatra_spec.rb
airbrake-5.0.2 spec/integration/sinatra/sinatra_spec.rb
airbrake-5.0.1 spec/integration/sinatra/sinatra_spec.rb
airbrake-5.0.0 spec/integration/sinatra/sinatra_spec.rb
airbrake-5.0.0.rc.1 spec/integration/sinatra/sinatra_spec.rb