diff options
author | jessib <jessib@riseup.net> | 2013-09-03 10:48:13 -0700 |
---|---|---|
committer | jessib <jessib@riseup.net> | 2013-09-03 10:48:13 -0700 |
commit | 07d0f6fe1d80cb730bd12a03a107c18d18779acc (patch) | |
tree | 8583a31661ba5032a9cd6ffd6b74273a6c862ab0 /billing/test/integration | |
parent | f3e17149116f6a3aeb87f8a6d0ecf29e8e33ad93 (diff) | |
parent | 29b306a4d49d395e5753e2e85f8fa1f25d18410c (diff) |
Merge pull request #73 from azul/bugfix/3623-teardown-test-data-properly
Bugfix/3623 teardown test data properly
Diffstat (limited to 'billing/test/integration')
-rw-r--r-- | billing/test/integration/admin_customer_test.rb | 2 | ||||
-rw-r--r-- | billing/test/integration/customer_creation_test.rb | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/billing/test/integration/admin_customer_test.rb b/billing/test/integration/admin_customer_test.rb index 5169d85..58a7557 100644 --- a/billing/test/integration/admin_customer_test.rb +++ b/billing/test/integration/admin_customer_test.rb @@ -2,7 +2,7 @@ require 'test_helper' require 'fake_braintree' require 'capybara/rails' -class CustomerCreationTest < ActionDispatch::IntegrationTest +class AdminCustomerTest < ActionDispatch::IntegrationTest include Warden::Test::Helpers include Capybara::DSL diff --git a/billing/test/integration/customer_creation_test.rb b/billing/test/integration/customer_creation_test.rb index 5e3734c..aabd9b6 100644 --- a/billing/test/integration/customer_creation_test.rb +++ b/billing/test/integration/customer_creation_test.rb @@ -13,6 +13,7 @@ class CustomerCreationTest < ActionDispatch::IntegrationTest end teardown do + @user.destroy Warden.test_reset! end |