Updates/moves consumer/account/cards_spec into system

This commit is contained in:
filipefurtad0
2021-10-08 14:29:41 +01:00
parent 86404045f2
commit 97a79a77e1

View File

@@ -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