Sha256: f74c89a1e73d0c54f7363a97795a9eaf3ab6e1ecc7b21f5d7611e18a9efa2889
Contents?: true
Size: 401 Bytes
Versions: 16
Compression:
Stored size: 401 Bytes
Contents
require 'spec_helper' RSpec.describe Airbrake do describe ".add_rack_builder" do let :builder do proc { |_, _| nil } end after { Airbrake::Rack::NoticeBuilder.builders.delete(builder) } it "adds new builder to the chain" do expect { Airbrake.add_rack_builder(&builder) }.to change { Airbrake::Rack::NoticeBuilder.builders.count }.by(1) end end end
Version data entries
16 entries across 16 versions & 2 rubygems