summaryrefslogtreecommitdiff
path: root/billing/test/integration/admin_customer_test.rb
diff options
context:
space:
mode:
authorjessib <jessib@riseup.net>2013-08-15 12:09:26 -0700
committerjessib <jessib@riseup.net>2013-08-15 12:09:26 -0700
commitd948614d3e2bc190b9c819e961b94c03d7a24fcd (patch)
tree3407cab5a167855668f57edc7a0a2d202ebce2ba /billing/test/integration/admin_customer_test.rb
parentd0a15a50e1fdf08f2283562453d4e803aa7b31c8 (diff)
Some notes on tests that don't work. (Failing tests are skipped though.)
Diffstat (limited to 'billing/test/integration/admin_customer_test.rb')
-rw-r--r--billing/test/integration/admin_customer_test.rb14
1 files changed, 3 insertions, 11 deletions
diff --git a/billing/test/integration/admin_customer_test.rb b/billing/test/integration/admin_customer_test.rb
index 1145ef4..5169d85 100644
--- a/billing/test/integration/admin_customer_test.rb
+++ b/billing/test/integration/admin_customer_test.rb
@@ -29,16 +29,8 @@ class CustomerCreationTest < ActionDispatch::IntegrationTest
end
test "check customer as admin" do
-=begin
-
- login_as @admin
- visit '/'
- click_link 'Users'
- click_link @user.login
- click_link 'Billing Settings'
- assert page.has_content? @user.email_address
- assert !page.has_content?('No Saved Customer')
- save_and_open_page
-=end
+ skip "cannot check customer as admin"
+ # it would be good to have a test where an admin tries to view the 'Billing Settings' for another user.
+ # However, partially due to limitations of FakeBraintree, this doesn't seem pursuing at this time.
end
end