Skip to content

Commit

Permalink
Use non-view tests where view tests not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
yndajas committed Jun 14, 2024
1 parent 78d4c62 commit 139027e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/functional/admin/republishing_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class Admin::RepublishingControllerTest < ActionController::TestCase
assert_response :forbidden
end

view_test "GDS Admin users should be able to GET :find_organisation" do
test "GDS Admin users should be able to GET :find_organisation" do
get :find_organisation

assert_response :ok
Expand Down Expand Up @@ -198,7 +198,7 @@ class Admin::RepublishingControllerTest < ActionController::TestCase
assert_response :forbidden
end

view_test "GDS Admin users should be able to GET :find_person" do
test "GDS Admin users should be able to GET :find_person" do
get :find_person

assert_response :ok
Expand Down Expand Up @@ -302,7 +302,7 @@ class Admin::RepublishingControllerTest < ActionController::TestCase
assert_response :forbidden
end

view_test "GDS Admin users should be able to GET :find_role" do
test "GDS Admin users should be able to GET :find_role" do
get :find_role

assert_response :ok
Expand Down Expand Up @@ -406,7 +406,7 @@ class Admin::RepublishingControllerTest < ActionController::TestCase
assert_response :forbidden
end

view_test "GDS Admin users should be able to GET :find_document" do
test "GDS Admin users should be able to GET :find_document" do
get :find_document

assert_response :ok
Expand Down

0 comments on commit 139027e

Please sign in to comment.