summaryrefslogtreecommitdiff
path: root/test/spec_builder.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/spec_builder.rb')
-rw-r--r--test/spec_builder.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/spec_builder.rb b/test/spec_builder.rb
index eb13a976..3fcc9933 100644
--- a/test/spec_builder.rb
+++ b/test/spec_builder.rb
@@ -218,10 +218,9 @@ describe Rack::Builder do
Rack::MockRequest.new(app).get("/c").status.must_equal 200
end
- it 'complains about a missing run' do
- proc do
- Rack::Lint.new Rack::Builder.app { use Rack::ShowExceptions }
- end.must_raise(RuntimeError)
+ it 'should result in the default app' do
+ app = Rack::Builder.new.to_app
+ app.must_equal Rack::Builder::DEFAULT_APP
end
describe "parse_file" do