049dabbf15
Squashed changes: - Prevent side effects of content type testing. - Test for inline minification in PHP files.
8 lines
164 B
Ruby
8 lines
164 B
Ruby
Around('@preserve_mime_types') do |_scenario, block|
|
|
mime_types = ::Rack::Mime::MIME_TYPES.clone
|
|
|
|
block.call
|
|
|
|
::Rack::Mime::MIME_TYPES.replace mime_types
|
|
end
|