diff options
author | Neeraj Singh <neerajdotname@gmail.com> | 2010-11-22 11:39:58 -0500 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-11-22 23:06:14 +0100 |
commit | 23ea19e20d6f7df762635b1c6d83369922d5ad7b (patch) | |
tree | 48d19505ed9dfc19958138fb2e47db1fe297c126 /actionpack | |
parent | c9147ebfa06023248b5e738f0928973ddc084da7 (diff) | |
download | rails-23ea19e20d6f7df762635b1c6d83369922d5ad7b.tar.gz rails-23ea19e20d6f7df762635b1c6d83369922d5ad7b.tar.bz2 rails-23ea19e20d6f7df762635b1c6d83369922d5ad7b.zip |
rename star star to just one star
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/dispatch/mime_type_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/test/dispatch/mime_type_test.rb b/actionpack/test/dispatch/mime_type_test.rb index ab5bbe3a19..3a7ab740f4 100644 --- a/actionpack/test/dispatch/mime_type_test.rb +++ b/actionpack/test/dispatch/mime_type_test.rb @@ -12,7 +12,7 @@ class MimeTypeTest < ActiveSupport::TestCase end end - test "parse text with trailing star star" do + test "parse text with trailing star" do accept = "text/*" expect = [Mime::JSON, Mime::XML, Mime::ICS, Mime::HTML, Mime::CSS, Mime::CSV, Mime::JS, Mime::YAML, Mime::TEXT] parsed = Mime::Type.parse(accept) @@ -20,7 +20,7 @@ class MimeTypeTest < ActiveSupport::TestCase assert_equal expect, parsed end - test "parse application with trailing star star" do + test "parse application with trailing star" do accept = "application/*" expect = [Mime::HTML, Mime::JS, Mime::XML, Mime::YAML, Mime::ATOM, Mime::JSON, Mime::RSS, Mime::PDF, Mime::URL_ENCODED_FORM] parsed = Mime::Type.parse(accept) @@ -28,7 +28,7 @@ class MimeTypeTest < ActiveSupport::TestCase assert_equal expect, parsed end - test "parse image with trailing star star" do + test "parse image with trailing star" do accept = "image/*" parsed = Mime::Type.parse(accept) assert_equal 2, parsed.size |