summaryrefslogtreecommitdiff
path: root/billing/test/integration/admin_customer_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'billing/test/integration/admin_customer_test.rb')
-rw-r--r--billing/test/integration/admin_customer_test.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/billing/test/integration/admin_customer_test.rb b/billing/test/integration/admin_customer_test.rb
index 1b9953f..df92a0d 100644
--- a/billing/test/integration/admin_customer_test.rb
+++ b/billing/test/integration/admin_customer_test.rb
@@ -1,19 +1,14 @@
require 'test_helper'
require 'fake_braintree'
-require 'capybara/rails'
-class AdminCustomerTest < ActionDispatch::IntegrationTest
- include Warden::Test::Helpers
- include Capybara::DSL
+class AdminCustomerTest < BraintreeIntegrationTest
setup do
- Warden.test_mode!
@admin = User.find_by_login('admin') || FactoryGirl.create(:user, login: 'admin')
@user = FactoryGirl.create(:user)
end
teardown do
- Warden.test_reset!
@user.destroy if @user
@admin.destroy if @admin
end