diff --git a/spec/features/consumer/account/cards_spec.rb b/spec/system/consumer/account/cards_spec.rb similarity index 98% rename from spec/features/consumer/account/cards_spec.rb rename to spec/system/consumer/account/cards_spec.rb index 55573be384..544b857715 100644 --- a/spec/features/consumer/account/cards_spec.rb +++ b/spec/system/consumer/account/cards_spec.rb @@ -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