diff --git a/test/controllers/notifications_controller_test.rb b/test/controllers/notifications_controller_test.rb index 20b28201d..fc4c2bfee 100644 --- a/test/controllers/notifications_controller_test.rb +++ b/test/controllers/notifications_controller_test.rb @@ -1,7 +1,14 @@ require "test_helper" class NotificationsControllerTest < ActionDispatch::IntegrationTest - # test "the truth" do - # assert true - # end + setup do + sign_in_as :kevin + end + + test "index" do + get notifications_url + + assert_response :success + assert_select "div", text: /Layout is broken/ + end end