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-0.20.1 | spec/middleware/request_store/seed_spec.rb |
pliny-0.20.0 | spec/middleware/request_store/seed_spec.rb |
pliny-0.19.0 | spec/middleware/request_store/seed_spec.rb |