diff options
author | azul <azul@riseup.net> | 2017-12-09 05:45:47 -0800 |
---|---|---|
committer | azul <azul@riseup.net> | 2017-12-09 05:45:47 -0800 |
commit | 89b879a3e5ee27bfc90751dcd02aa2213262cc5f (patch) | |
tree | de610d5ef7146c073b7129a20762838d78aeca03 /engines/billing/test/broken/customer_creation_test.rb | |
parent | 90c3fc431133cf18d83afd8e394e45c0bd5f63ac (diff) | |
parent | 7120117687e2e6078d7e94ddb9e8b93e8ad5f2e3 (diff) |
Merge branch 'upgrade/gemfile' into 'master'
Upgrade/gemfile
See merge request leap/webapp!55
Diffstat (limited to 'engines/billing/test/broken/customer_creation_test.rb')
-rw-r--r-- | engines/billing/test/broken/customer_creation_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/billing/test/broken/customer_creation_test.rb b/engines/billing/test/broken/customer_creation_test.rb index 90319a9..da171c4 100644 --- a/engines/billing/test/broken/customer_creation_test.rb +++ b/engines/billing/test/broken/customer_creation_test.rb @@ -4,7 +4,7 @@ require 'fake_braintree' class CustomerCreationTest < BraintreeIntegrationTest setup do - @user = FactoryGirl.create(:user) + @user = FactoryBot.create(:user) login_as @user end @@ -38,7 +38,7 @@ class CustomerCreationTest < BraintreeIntegrationTest # for a broken customer test "successfully confirms customer creation" do response = post_transparent_redirect :create_customer_data, - customer: FactoryGirl.attributes_for(:braintree_customer), + customer: FactoryBot.attributes_for(:braintree_customer), redirect_url: confirm_customer_url assert_difference("Customer.count") do @@ -57,7 +57,7 @@ class CustomerCreationTest < BraintreeIntegrationTest FakeBraintree.decline_all_cards! response = post_transparent_redirect :create_customer_data, - customer: FactoryGirl.attributes_for(:broken_customer), + customer: FactoryBot.attributes_for(:broken_customer), redirect_url: confirm_customer_url assert FakeBraintree.decline_all_cards? |