summaryrefslogtreecommitdiff
path: root/users/test/integration/browser/account_test.rb
diff options
context:
space:
mode:
authorjessib <jessib@riseup.net>2013-11-04 09:05:03 -0800
committerjessib <jessib@riseup.net>2013-11-04 09:05:03 -0800
commitd4f835662fac2d9dca705b5cba2e207562dec833 (patch)
tree23625c0daafbaade2a1aeb9bf9b17070f1f67d51 /users/test/integration/browser/account_test.rb
parent7aaedeaf6fdd2d84ebab7bde2f6a6bdcf8d930b8 (diff)
parentf6924bfe3b540c384fa53e55db9db3a64a34ced3 (diff)
Merge pull request #108 from azul/feature/proper-user-deletion
notify user their account was successfully deleted (refs #4216)
Diffstat (limited to 'users/test/integration/browser/account_test.rb')
-rw-r--r--users/test/integration/browser/account_test.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/users/test/integration/browser/account_test.rb b/users/test/integration/browser/account_test.rb
index 8e03856..b712c95 100644
--- a/users/test/integration/browser/account_test.rb
+++ b/users/test/integration/browser/account_test.rb
@@ -38,6 +38,14 @@ class AccountTest < BrowserIntegrationTest
assert page.has_no_selector? 'input.btn-primary.disabled'
end
+ test "account destruction" do
+ username, password = submit_signup
+ click_on I18n.t('account_settings')
+ click_on I18n.t('destroy_my_account')
+ page.save_screenshot('/tmp/destroy.png')
+ assert page.has_content?(I18n.t('account_destroyed'))
+ end
+
test "change password" do
username, password = submit_signup
click_on "Account Settings"