From 361cdbbacc57b17c198489238282e786cc827efa Mon Sep 17 00:00:00 2001 From: Azul Date: Fri, 11 Apr 2014 09:31:16 +0200 Subject: make sure billing tests do not interfere with others they are still broken though. --- billing/test/integration/subscription_test.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'billing/test/integration/subscription_test.rb') 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 -- cgit v1.2.3