spec/hyperdrive/middleware/error_spec.rb in hyperdrive-0.0.7 vs spec/hyperdrive/middleware/error_spec.rb in hyperdrive-0.0.8
- old
+ new
@@ -4,10 +4,10 @@
describe Hyperdrive::Middleware::Error do
before do
get '/'
end
-
+
context "Known Error" do
def app
Rack::Builder.new do
use Hyperdrive::Middleware::Error
run ->(env) { raise Hyperdrive::Errors::MethodNotAllowed.new('GET') }