Skip to content

Commit

Permalink
Empty script tag was removed from empty page
Browse files Browse the repository at this point in the history
  • Loading branch information
Nate Berkopec committed Dec 5, 2023
1 parent a6d227b commit 471d25f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/integration/middleware_spec.rb
Expand Up @@ -27,7 +27,7 @@ def app
get '/rack-mini-profiler/requests', {}, 'HTTP_ACCEPT_ENCODING' => 'gzip, compress'

expect(last_response.body).to include('<title>Rack::MiniProfiler Requests</title>')
expect(last_response.body).to match('.*<body>\n <script .*></script>\n</body>/*')
expect(last_response.body).to match('<body>\n </body>')
end
end

Expand Down

0 comments on commit 471d25f

Please sign in to comment.