diff options
author | Azul <azul@leap.se> | 2014-05-24 13:39:10 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2014-05-26 17:45:18 +0200 |
commit | bbeb4b629dc38d82b3b3200706dd25b8def8892e (patch) | |
tree | b6157ed75653f97ff7cfa02a961e8f10efe7baf3 /test/integration/browser/account_test.rb | |
parent | 4085e3fabef6427cd3f8be9b61c209bd82eaa595 (diff) |
sorting translation keys some
Diffstat (limited to 'test/integration/browser/account_test.rb')
-rw-r--r-- | test/integration/browser/account_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/integration/browser/account_test.rb b/test/integration/browser/account_test.rb index 491a9e1..8dc3043 100644 --- a/test/integration/browser/account_test.rb +++ b/test/integration/browser/account_test.rb @@ -9,7 +9,7 @@ class AccountTest < BrowserIntegrationTest test "signup successfully" do username, password = submit_signup assert page.has_content?("Welcome #{username}") - click_on 'Logout' + click_on 'Log Out' assert page.has_content?("Log In") assert_equal '/', current_path assert user = User.find_by_login(username) @@ -24,7 +24,7 @@ class AccountTest < BrowserIntegrationTest test "successful login" do username, password = submit_signup - click_on 'Logout' + click_on 'Log Out' attempt_login(username, password) assert page.has_content?("Welcome #{username}") within('.sidenav li.active') do @@ -83,7 +83,7 @@ class AccountTest < BrowserIntegrationTest fill_in 'Password confirmation', with: "other password" click_on 'Save' end - click_on 'Logout' + click_on 'Log Out' attempt_login(@user.login, "other password") assert page.has_content?("Welcome #{@user.login}") end |