Allow content-type header with charset on test. (#501)

Allow content-type header with charset on test. (#501)

Specs fails when the Content-Type is “text/plain; charset=utf-8”

diff --git a/spec/integration/mini_profiler_spec.rb b/spec/integration/mini_profiler_spec.rb
index 9b44042..b3b7ed4 100644
--- a/spec/integration/mini_profiler_spec.rb
+++ b/spec/integration/mini_profiler_spec.rb
@@ -393,7 +393,7 @@ describe Rack::MiniProfiler do
   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
 

GitHub sha: 6cadc08619bf646e2dff15f4c848e8c876f609f9

This commit appears in #501 which was merged by SamSaffron.