Sha256: 21398a000570c9cedebbd454a90aaedba776218db57def10cd7d4efeb1fa2566

Contents?: true

Size: 164 Bytes

Versions: 47

Compression:

Stored size: 164 Bytes

Contents

Around('@preserve_mime_types') do |_scenario, block|
  mime_types = ::Rack::Mime::MIME_TYPES.clone

  block.call

  ::Rack::Mime::MIME_TYPES.replace mime_types
end

Version data entries

47 entries across 47 versions & 3 rubygems

Version Path
middleman-core-4.1.0.rc.1 features/support/preserve_mime_types.rb
middleman-core-4.0.0 features/support/preserve_mime_types.rb
middleman-core-4.0.0.rc.3 features/support/preserve_mime_types.rb
middleman-core-3.4.1 features/support/preserve_mime_types.rb
middleman-core-4.0.0.rc.2 features/support/preserve_mime_types.rb
middleman-core-3.4.0 features/support/preserve_mime_types.rb
middleman-core-3.3.12 features/support/preserve_mime_types.rb