fix spec for full page logins (#268)

This commit is contained in:
Penar Musaraj
2025-03-13 13:20:21 -04:00
committed by GitHub
parent 208ecb66a3
commit 9e38a69dbb
+2 -2
View File
@@ -28,12 +28,12 @@ describe "Subscription products", type: :system do
::Stripe::Price.stubs(:list).returns({ data: [] })
end
it "shows the login modal" do
it "shows the login screen" do
visit("/s")
find("button.login-required.subscriptions").click
expect(page).to have_css(".modal-container .login-modal")
expect(page).to have_css("#login-form")
end
it "shows products on the products and allows deletion" do