Skip to content

Commit

Permalink
Fixed incorrect test title
Browse files Browse the repository at this point in the history
Revert "fixup! Add missing test and extract error message out."

This reverts commit 2224b4e.
  • Loading branch information
ellohez committed Aug 8, 2024
1 parent 87a1eaf commit fbad5d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/homepage_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class HomepageControllerTest < ActionController::TestCase
assert_equal "Can't delete an already published edition. Please create a new edition to make changes.", flash[:danger]
end

should "redirect to edit page with error message if delete from database fails" do
should "redirect to show page with error message if delete from database fails" do
PopularLinksEdition.any_instance.stubs(:delete).returns(false)

delete :destroy, params: { id: @popular_links.id }
Expand Down

0 comments on commit fbad5d2

Please sign in to comment.