Sha256: e6c0c02d6ecb7a824ebd13bb5d1437de983148ce815b7ca0bdc15d972559ef5a
Contents?: true
Size: 394 Bytes
Versions: 9
Compression:
Stored size: 394 Bytes
Contents
require "spec_helper" require "scorpion/rack" describe Scorpion::Rack do it "it raises error when out of order" do klass = Class.new do include Scorpion::Rack def call( env ) scorpion( env ) end end expect do request = Rack::MockRequest.new( klass.new ) request.get "/" end.to raise_error Scorpion::Rack::MissingScorpionError end end
Version data entries
9 entries across 9 versions & 1 rubygems