diff options
Diffstat (limited to 'test/controllers/events_controller_test.rb')
| -rw-r--r-- | test/controllers/events_controller_test.rb | 2 |
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 |
