mirror of
https://github.com/discourse/discourse-subscriptions.git
synced 2025-07-08 07:12:46 +00:00
fix spec for full page logins (#268)
This commit is contained in:
parent
208ecb66a3
commit
9e38a69dbb
@ -28,12 +28,12 @@ describe "Subscription products", type: :system do
|
|||||||
::Stripe::Price.stubs(:list).returns({ data: [] })
|
::Stripe::Price.stubs(:list).returns({ data: [] })
|
||||||
end
|
end
|
||||||
|
|
||||||
it "shows the login modal" do
|
it "shows the login screen" do
|
||||||
visit("/s")
|
visit("/s")
|
||||||
|
|
||||||
find("button.login-required.subscriptions").click
|
find("button.login-required.subscriptions").click
|
||||||
|
|
||||||
expect(page).to have_css(".modal-container .login-modal")
|
expect(page).to have_css("#login-form")
|
||||||
end
|
end
|
||||||
|
|
||||||
it "shows products on the products and allows deletion" do
|
it "shows products on the products and allows deletion" do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user