diff options
| -rw-r--r-- | users/test/integration/browser/account_test.rb | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/users/test/integration/browser/account_test.rb b/users/test/integration/browser/account_test.rb index b412980..3df0794 100644 --- a/users/test/integration/browser/account_test.rb +++ b/users/test/integration/browser/account_test.rb @@ -18,6 +18,10 @@ class AccountTest < BrowserIntegrationTest      click_on 'Logout'      assert page.has_content?("Sign Up")      assert_equal '/', current_path +    assert user = User.find_by_login(username) +    assert id = user.identity +    id.destroy +    user.destroy    end    # trying to seed an invalid A for srp login @@ -30,6 +34,7 @@ class AccountTest < BrowserIntegrationTest      click_on 'Log In'      assert page.has_content?("Invalid random key")      assert page.has_no_content?("Welcome") +    user.destroy    end    def inject_malicious_js | 
