aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/resources_test.rb
diff options
context:
space:
mode:
authorAditya Kapoor <adityakapoor.mait@gmail.com>2015-08-23 21:38:49 +0530
committerAditya Kapoor <adityakapoor.mait@gmail.com>2015-08-24 01:02:14 +0530
commitb393c6af92475c6604218f5f056a1f242385dc8e (patch)
treea14b296c114d9c356fb26812db19f73b9d5ec4df /actionpack/test/controller/resources_test.rb
parent0ae0b3a5b43c8b89b5925a7d39cc6459315429ef (diff)
downloadrails-b393c6af92475c6604218f5f056a1f242385dc8e.tar.gz
rails-b393c6af92475c6604218f5f056a1f242385dc8e.tar.bz2
rails-b393c6af92475c6604218f5f056a1f242385dc8e.zip
Trim out unneeded controllers from AP test suite
Diffstat (limited to 'actionpack/test/controller/resources_test.rb')
-rw-r--r--actionpack/test/controller/resources_test.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/test/controller/resources_test.rb b/actionpack/test/controller/resources_test.rb
index dd7c128566..280865d2a8 100644
--- a/actionpack/test/controller/resources_test.rb
+++ b/actionpack/test/controller/resources_test.rb
@@ -519,9 +519,9 @@ class ResourcesTest < ActionController::TestCase
end
def test_should_create_multiple_singleton_resource_routes
- with_singleton_resources :account, :logo do
+ with_singleton_resources :account, :product do
assert_singleton_restful_for :account
- assert_singleton_restful_for :logo
+ assert_singleton_restful_for :product
end
end
@@ -1070,8 +1070,8 @@ class ResourcesTest < ActionController::TestCase
end
def test_singleton_resource_name_is_not_singularized
- with_singleton_resources(:preferences) do
- assert_singleton_restful_for :preferences
+ with_singleton_resources(:products) do
+ assert_singleton_restful_for :products
end
end