Add simple controller test

This commit is contained in:
Kevin McConnell
2025-01-14 14:10:24 +00:00
parent 9ddb7b260b
commit 9fc5311ddc
@@ -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