Sha256: 8468572edf7f2fef33c702059a93b4e92268a59920cfc64e7698d1eab1724b02

Contents?: true

Size: 624 Bytes

Versions: 2

Compression:

Stored size: 624 Bytes

Contents

require 'railtie-help'

describe Fluoride::Collector::Railtie do
  it "should add exception collection to the middleware stack" do
    expect(Rails.application.middleware.middlewares).to include(Fluoride::Collector::Middleware::CollectExceptions)
  end

  it "should add exchange collection to the middleware stack" do
    expect(Rails.application.middleware.middlewares).to include(Fluoride::Collector::Middleware::CollectExchanges)
  end

  it "should put exchange collection at top of stack" do
    expect(Rails.application.middleware.middlewares.first).to eq(Fluoride::Collector::Middleware::CollectExchanges)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fluoride-collector-0.0.3 spec/railtie.rb
fluoride-collector-0.0.2 spec/railtie.rb