From 9e38a69dbb2dfe1809651596dba5eaed85ac1daf Mon Sep 17 00:00:00 2001 From: Penar Musaraj Date: Thu, 13 Mar 2025 13:20:21 -0400 Subject: [PATCH] fix spec for full page logins (#268) --- spec/system/subscription_product_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/system/subscription_product_spec.rb b/spec/system/subscription_product_spec.rb index 10d2d7e..4bac881 100644 --- a/spec/system/subscription_product_spec.rb +++ b/spec/system/subscription_product_spec.rb @@ -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