summaryrefslogtreecommitdiff
path: root/test/integration/browser/account_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/browser/account_test.rb')
-rw-r--r--test/integration/browser/account_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/integration/browser/account_test.rb b/test/integration/browser/account_test.rb
index 8e6d433..aea5406 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)
@@ -30,7 +30,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
@@ -90,7 +90,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