From 87abfcd704ba8e7f2e09cc9dc294a4d51323691a Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Thu, 14 Feb 2019 11:42:46 +1100 Subject: [PATCH] Simplify shopping spec --- spec/features/consumer/shopping/checkout_spec.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/spec/features/consumer/shopping/checkout_spec.rb b/spec/features/consumer/shopping/checkout_spec.rb index 0ecf72f88e..456a62a7db 100644 --- a/spec/features/consumer/shopping/checkout_spec.rb +++ b/spec/features/consumer/shopping/checkout_spec.rb @@ -158,9 +158,7 @@ feature "As a consumer I want to check out my cart", js: true, retry: 3 do context "with Stripe" do let!(:stripe_pm) do - create(:stripe_payment_method, - distributors: [distributor], - name: "Stripe") + create(:stripe_payment_method, distributors: [distributor]) end let!(:saved_card) do