diff options
Diffstat (limited to 'test/spec_utils.rb')
-rw-r--r-- | test/spec_utils.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/spec_utils.rb b/test/spec_utils.rb index e25070bc..9a2d29e6 100644 --- a/test/spec_utils.rb +++ b/test/spec_utils.rb @@ -444,6 +444,7 @@ describe Rack::Utils do helper.call(%w(compress gzip identity), [["compress", 1.0], ["gzip", 1.0]]).must_equal "compress" helper.call(%w(compress gzip identity), [["compress", 0.5], ["gzip", 1.0]]).must_equal "gzip" + helper.call(%w(compress gzip identity), [["gzip", 1.0], ["compress", 1.0]]).must_equal "compress" helper.call(%w(foo bar identity), []).must_equal "identity" helper.call(%w(foo bar identity), [["*", 1.0]]).must_equal "foo" |