Add retry to failing payment method spec

This commit is contained in:
Rohan Mitchell
2016-03-09 14:20:48 +11:00
parent 9645ec727b
commit 7e65b3176d

View File

@@ -30,7 +30,7 @@ feature %q{
payment_method.distributors.should == [@distributors[0]]
end
scenario "updating a payment method" do
scenario "updating a payment method", retry: 3 do
pm = create(:payment_method, distributors: [@distributors[0]])
login_to_admin_section