aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/controllers/categories_controller_test.rb2
-rw-r--r--test/controllers/useflags_controller_test.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/controllers/categories_controller_test.rb b/test/controllers/categories_controller_test.rb
index 994db38..2b6e287 100644
--- a/test/controllers/categories_controller_test.rb
+++ b/test/controllers/categories_controller_test.rb
@@ -8,7 +8,7 @@ class CategoriesControllerTest < ActionController::TestCase
end
test "should show category" do
- get :show, id: 'virtual'
+ get :show, params: { id: 'virtual' }
assert_response :success
end
end
diff --git a/test/controllers/useflags_controller_test.rb b/test/controllers/useflags_controller_test.rb
index 7adfca9..f6b2cc3 100644
--- a/test/controllers/useflags_controller_test.rb
+++ b/test/controllers/useflags_controller_test.rb
@@ -7,12 +7,12 @@ class UseflagsControllerTest < ActionController::TestCase
end
test "should get show" do
- get :show, id: 'test'
+ get :show, params: { id: 'test' }
assert_response :success
end
test "should get search" do
- get :search, q: 'test'
+ get :search, params: { q: 'test' }
assert_response :success
end