From baace1fa5df46694ddd515dc3bbca59b22df8692 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sat, 25 Jul 2026 03:51:44 +0200 Subject: Extract flashes to i18n and stop dispatching on submit labels --- test/controllers/events_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/controllers/events_controller_test.rb') diff --git a/test/controllers/events_controller_test.rb b/test/controllers/events_controller_test.rb index 46f3f4f1..d4fd66d6 100644 --- a/test/controllers/events_controller_test.rb +++ b/test/controllers/events_controller_test.rb @@ -83,7 +83,7 @@ class EventsControllerTest < ActionController::TestCase end assert_redirected_to edit_node_path(node) - assert_equal 'Event was successfully created.', flash[:notice] + assert_equal I18n.t("flash.events.created"), flash[:notice] end test "should not create an event without a title or a node_id" do -- cgit v1.3