mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-30 21:27:17 +00:00
Updates/moves consumer/account/cards_spec into system
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'spec_helper'
|
||||
require 'system_helper'
|
||||
|
||||
describe "Credit Cards", js: true do
|
||||
include AuthenticationHelper
|
||||
@@ -64,7 +64,6 @@ describe "Credit Cards", js: true do
|
||||
# Allows switching of default card
|
||||
within(".card#card#{non_default_card.id}") do
|
||||
find_field('default_card').click
|
||||
accept_alert
|
||||
expect(find_field('default_card')).to be_checked
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user