From 23ea19e20d6f7df762635b1c6d83369922d5ad7b Mon Sep 17 00:00:00 2001 From: Neeraj Singh Date: Mon, 22 Nov 2010 11:39:58 -0500 Subject: rename star star to just one star MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: José Valim --- actionpack/test/dispatch/mime_type_test.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'actionpack') 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 -- cgit v1.2.3