test: fixing or skipping more tests

This commit is contained in:
Mike Dalessio
2025-11-10 14:26:01 -05:00
parent 89d1299ec0
commit 905cf759d8
5 changed files with 12 additions and 14 deletions
+5 -6
View File
@@ -6,17 +6,16 @@ class ApplicationHelperTest < ActionView::TestCase
end
test "page_title_tag on untenanted page" do
ApplicationRecord.without_tenant do
assert_select parse(page_title_tag), "title", text: "Fizzy"
end
Current.account = nil
assert_select parse(page_title_tag), "title", text: "Fizzy"
end
test "page_title_tag on untenanted page with a page title" do
@page_title = "Holodeck"
Current.account = nil
ApplicationRecord.without_tenant do
assert_select parse(page_title_tag), "title", text: "Holodeck | Fizzy"
end
assert_select parse(page_title_tag), "title", text: "Holodeck | Fizzy"
end
test "page_title_tag on tenanted page when user has a single membership" do