summaryrefslogtreecommitdiff
path: root/billing/test/integration/customer_creation_test.rb
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-04-11 09:31:16 +0200
committerAzul <azul@leap.se>2014-04-11 09:31:16 +0200
commit361cdbbacc57b17c198489238282e786cc827efa (patch)
treea81ba4728b8860b63c563795813a2d902490c0dd /billing/test/integration/customer_creation_test.rb
parentc6a22158c5bfb18fcd83434f92c55436fb15af23 (diff)
make sure billing tests do not interfere with others
they are still broken though.
Diffstat (limited to 'billing/test/integration/customer_creation_test.rb')
-rw-r--r--billing/test/integration/customer_creation_test.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/billing/test/integration/customer_creation_test.rb b/billing/test/integration/customer_creation_test.rb
index aabd9b6..90319a9 100644
--- a/billing/test/integration/customer_creation_test.rb
+++ b/billing/test/integration/customer_creation_test.rb
@@ -1,20 +1,15 @@
require 'test_helper'
require 'fake_braintree'
-require 'capybara/rails'
-class CustomerCreationTest < ActionDispatch::IntegrationTest
- include Warden::Test::Helpers
- include Capybara::DSL
+class CustomerCreationTest < BraintreeIntegrationTest
setup do
- Warden.test_mode!
@user = FactoryGirl.create(:user)
login_as @user
end
teardown do
@user.destroy
- Warden.test_reset!
end
# Let's test both steps together with capybara