1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-20 13:49:39 +02:00

Sync notifications and troubleshooting guides (#998)

* Add help articles

* Broadcast sync messages as notifications

* Lint fixes

* more lint fixes

* Remove redundant code
This commit is contained in:
Zach Gollwitzer 2024-07-18 14:39:38 -04:00 committed by GitHub
parent b200b71284
commit fa08f027c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 256 additions and 97 deletions

View file

@ -0,0 +1,18 @@
require "test_helper"
class Help::ArticlesControllerTest < ActionDispatch::IntegrationTest
setup do
sign_in @user = users(:family_admin)
@article = Help::Article.new(frontmatter: { title: "Test Article", slug: "test-article" }, content: "")
Help::Article.stubs(:find).returns(@article)
end
test "can view help article" do
get help_article_path(@article)
assert_response :success
assert_dom "h1", text: @article.title, count: 1
end
end