aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/mime
diff options
context:
space:
mode:
authorGuo Xiang <tgx_world@hotmail.com>2014-05-03 23:55:23 -0700
committerGuo Xiang <tgx_world@hotmail.com>2014-05-03 23:55:23 -0700
commit1f8933077d1a1235dccba2f30fe5961607b89835 (patch)
tree375ec86c0b7c089b1130b572689d9421c0ba73fd /actionpack/test/controller/mime
parentb231825f3e0b569e5ca1426833749b5c6325ba14 (diff)
downloadrails-1f8933077d1a1235dccba2f30fe5961607b89835.tar.gz
rails-1f8933077d1a1235dccba2f30fe5961607b89835.tar.bz2
rails-1f8933077d1a1235dccba2f30fe5961607b89835.zip
Remove tests method for test cases when controller can be inferred.
Diffstat (limited to 'actionpack/test/controller/mime')
-rw-r--r--actionpack/test/controller/mime/accept_format_test.rb2
-rw-r--r--actionpack/test/controller/mime/respond_to_test.rb2
-rw-r--r--actionpack/test/controller/mime/respond_with_test.rb2
3 files changed, 0 insertions, 6 deletions
diff --git a/actionpack/test/controller/mime/accept_format_test.rb b/actionpack/test/controller/mime/accept_format_test.rb
index c03c7edeb8..811c507af2 100644
--- a/actionpack/test/controller/mime/accept_format_test.rb
+++ b/actionpack/test/controller/mime/accept_format_test.rb
@@ -9,8 +9,6 @@ class StarStarMimeController < ActionController::Base
end
class StarStarMimeControllerTest < ActionController::TestCase
- tests StarStarMimeController
-
def test_javascript_with_format
@request.accept = "text/javascript"
get :index, :format => 'js'
diff --git a/actionpack/test/controller/mime/respond_to_test.rb b/actionpack/test/controller/mime/respond_to_test.rb
index ce6d135d92..41503e11a8 100644
--- a/actionpack/test/controller/mime/respond_to_test.rb
+++ b/actionpack/test/controller/mime/respond_to_test.rb
@@ -258,8 +258,6 @@ class RespondToController < ActionController::Base
end
class RespondToControllerTest < ActionController::TestCase
- tests RespondToController
-
def setup
super
@request.host = "www.example.com"
diff --git a/actionpack/test/controller/mime/respond_with_test.rb b/actionpack/test/controller/mime/respond_with_test.rb
index a70592fa1b..416b3b81a5 100644
--- a/actionpack/test/controller/mime/respond_with_test.rb
+++ b/actionpack/test/controller/mime/respond_with_test.rb
@@ -138,8 +138,6 @@ class EmptyRespondWithController < ActionController::Base
end
class RespondWithControllerTest < ActionController::TestCase
- tests RespondWithController
-
def setup
super
@request.host = "www.example.com"