Skip to content

Commit

Permalink
Allow content-type header with charset on test. (#501)
Browse files Browse the repository at this point in the history
Specs fails when the Content-Type is "text/plain; charset=utf-8"
  • Loading branch information
ceritium committed Jun 16, 2021
1 parent a93060e commit 6cadc08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/integration/mini_profiler_spec.rb
Expand Up @@ -393,7 +393,7 @@ def load_prof(response)
describe 'gc profiler' do
it "should return a report" do
get '/html?pp=profile-gc'
expect(last_response.header['Content-Type']).to eq('text/plain')
expect(last_response.header['Content-Type']).to include('text/plain')
end
end

Expand Down

0 comments on commit 6cadc08

Please sign in to comment.