Sha256: 1c7dea3560af570c72a1979193cab82b9bb5763b066fdd48e2f653217c3b8960

Contents?: true

Size: 396 Bytes

Versions: 23

Compression:

Stored size: 396 Bytes

Contents

require "spec_helper"

describe Pliny::Middleware::RequestStore::Seed do
  def app
    Rack::Builder.new do
      use Rack::Lint
      use Pliny::Middleware::RequestStore::Seed, store: Pliny::RequestStore
      run Sinatra.new {
        get "/" do
          "hi"
        end
      }
    end
  end

  it "seeds the store" do
    expect(Pliny::RequestStore).to receive(:seed)
    get "/"
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
pliny-1.1.0 spec/middleware/request_store/seed_spec.rb
pliny-1.0.0 spec/middleware/request_store/seed_spec.rb
pliny-0.32.0 spec/middleware/request_store/seed_spec.rb
pliny-0.31.0 spec/middleware/request_store/seed_spec.rb
pliny-0.30.1 spec/middleware/request_store/seed_spec.rb
pliny-0.30.0 spec/middleware/request_store/seed_spec.rb
pliny-0.29.0 spec/middleware/request_store/seed_spec.rb
pliny-0.28.0 spec/middleware/request_store/seed_spec.rb
pliny-0.27.1 spec/middleware/request_store/seed_spec.rb
pliny-0.27.0 spec/middleware/request_store/seed_spec.rb
pliny-0.26.2 spec/middleware/request_store/seed_spec.rb
pliny-0.26.1 spec/middleware/request_store/seed_spec.rb
pliny-0.26.0 spec/middleware/request_store/seed_spec.rb
pliny-0.25.1 spec/middleware/request_store/seed_spec.rb
pliny-0.25.0 spec/middleware/request_store/seed_spec.rb
pliny-0.24.0 spec/middleware/request_store/seed_spec.rb
pliny-0.23.0 spec/middleware/request_store/seed_spec.rb
pliny-0.22.0 spec/middleware/request_store/seed_spec.rb
pliny-0.21.0 spec/middleware/request_store/seed_spec.rb
pliny-0.20.2 spec/middleware/request_store/seed_spec.rb