summaryrefslogtreecommitdiff
path: root/test/controllers/events_controller_test.rb
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-25 03:51:44 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-25 03:51:44 +0200
commitbaace1fa5df46694ddd515dc3bbca59b22df8692 (patch)
tree6a8b587ca5d6d38377fe132b02c857f1c4149231 /test/controllers/events_controller_test.rb
parented32bc6902ab634451539770bcd910662212e01a (diff)
Extract flashes to i18n and stop dispatching on submit labels
Diffstat (limited to 'test/controllers/events_controller_test.rb')
-rw-r--r--test/controllers/events_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
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
83 end 83 end
84 84
85 assert_redirected_to edit_node_path(node) 85 assert_redirected_to edit_node_path(node)
86 assert_equal 'Event was successfully created.', flash[:notice] 86 assert_equal I18n.t("flash.events.created"), flash[:notice]
87 end 87 end
88 88
89 test "should not create an event without a title or a node_id" do 89 test "should not create an event without a title or a node_id" do