diff options
Diffstat (limited to 'test/spec_mime.rb')
-rw-r--r-- | test/spec_mime.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/spec_mime.rb b/test/spec_mime.rb index cd40b4b5..8d1ca256 100644 --- a/test/spec_mime.rb +++ b/test/spec_mime.rb @@ -1,4 +1,6 @@ -require 'minitest/autorun' +# frozen_string_literal: true + +require 'minitest/global_expectations/autorun' require 'rack/mime' describe Rack::Mime do @@ -19,7 +21,7 @@ describe Rack::Mime do end it "should support null fallbacks" do - Rack::Mime.mime_type('.nothing', nil).must_equal nil + Rack::Mime.mime_type('.nothing', nil).must_be_nil end it "should match exact mimes" do |