spec/integration_spec.rb in stackprof-webnav-1.0.0 vs spec/integration_spec.rb in stackprof-webnav-1.0.1
- old
+ new
@@ -24,9 +24,14 @@
app.follow_redirect!
expect(app.last_response.body).to include("Dummy")
end
end
+ it "does not crash on unknown requests" do
+ app.get "/favicon.ico"
+ expect(response.status).to eq(404)
+ end
+
describe "overview" do
it "works with a valid dump" do
app.get "/overview", dump: fixture_path("test.dump")
frame = presenter.overview_frames.first