diff options
author | jessib <jessib@riseup.net> | 2014-02-07 07:51:12 -0800 |
---|---|---|
committer | jessib <jessib@riseup.net> | 2014-02-07 07:51:12 -0800 |
commit | 393abdefeeed2e9653e22c85b5d1c617003e95a9 (patch) | |
tree | 8351cc3a82c7c030f07bd494c2c1998dc19d9462 /billing/test/integration/subscription_test.rb | |
parent | cbcd4d388dec048be3d3f66c1b909515d3176ead (diff) | |
parent | 58a36ae079f9103f2aa18da48d5ea2a18aae938c (diff) |
Merge pull request #137 from azul/test/fix-red-ci
Test/fix red ci
Diffstat (limited to 'billing/test/integration/subscription_test.rb')
-rw-r--r-- | billing/test/integration/subscription_test.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/billing/test/integration/subscription_test.rb b/billing/test/integration/subscription_test.rb index b95bfac..1473eb0 100644 --- a/billing/test/integration/subscription_test.rb +++ b/billing/test/integration/subscription_test.rb @@ -2,9 +2,8 @@ require 'test_helper' require 'fake_braintree' require 'capybara/rails' -class SubscriptionTest < ActionDispatch::IntegrationTest +class SubscriptionTest < BrowserIntegrationTest include Warden::Test::Helpers - include Capybara::DSL include CustomerTestHelper include StubRecordHelper @@ -17,7 +16,6 @@ class SubscriptionTest < ActionDispatch::IntegrationTest payment_method_token: @braintree_customer.credit_cards.first.token, price: '10' @subscription = response.subscription - Capybara.current_driver = Capybara.javascript_driver end teardown do @@ -32,7 +30,6 @@ class SubscriptionTest < ActionDispatch::IntegrationTest visit user_subscriptions_path(@customer.user_id, :locale => nil) assert page.has_content?("Subscriptions") assert page.has_content?("Status: Active") - page.save_screenshot('/tmp/subscriptions.png') end # test "user cannot see all subscriptions for other user" do |