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 ebbc812 commit 0a877df
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 @@ -118,7 +118,7 @@ def enable_reshuffle_mode!
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 @@ -222,7 +222,7 @@ def enable_reshuffle_mode!
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 @@ -326,7 +326,7 @@ def enable_reshuffle_mode!
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 @@ -430,7 +430,7 @@ def enable_reshuffle_mode!
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 0a877df

Please sign in to comment.