diff options
author | Azul <azul@leap.se> | 2014-04-11 09:31:16 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2014-04-11 09:31:16 +0200 |
commit | 361cdbbacc57b17c198489238282e786cc827efa (patch) | |
tree | a81ba4728b8860b63c563795813a2d902490c0dd /billing/test/integration/subscription_test.rb | |
parent | c6a22158c5bfb18fcd83434f92c55436fb15af23 (diff) |
make sure billing tests do not interfere with others
they are still broken though.
Diffstat (limited to 'billing/test/integration/subscription_test.rb')
-rw-r--r-- | billing/test/integration/subscription_test.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/billing/test/integration/subscription_test.rb b/billing/test/integration/subscription_test.rb index 1473eb0..cd010bd 100644 --- a/billing/test/integration/subscription_test.rb +++ b/billing/test/integration/subscription_test.rb @@ -1,14 +1,11 @@ require 'test_helper' require 'fake_braintree' -require 'capybara/rails' -class SubscriptionTest < BrowserIntegrationTest - include Warden::Test::Helpers +class SubscriptionTest < BraintreeIntegrationTest include CustomerTestHelper include StubRecordHelper setup do - Warden.test_mode! @admin = User.find_by_login('admin') || FactoryGirl.create(:user, login: 'admin') @customer = stub_customer @braintree_customer = @customer.braintree_customer @@ -19,7 +16,6 @@ class SubscriptionTest < BrowserIntegrationTest end teardown do - Warden.test_reset! @admin.destroy end |