diff options
| author | mo <mokha@cisco.com> | 2017-09-02 16:44:15 -0600 |
|---|---|---|
| committer | mo <mokha@cisco.com> | 2017-09-02 16:44:15 -0600 |
| commit | e9f1eae60518d4dd698b639d3c9e05151086c846 (patch) | |
| tree | 01a8dc4f310ff1205c61e0f30f41c39f13d3c53b /spec | |
| parent | 5577b046477a20e53e5c6455975a0c26a2d28379 (diff) | |
move some text to translations.
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/features/sessions_spec.rb | 2 | ||||
| -rw-r--r-- | spec/support/pages/dashboard_page.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/sessions_spec.rb b/spec/features/sessions_spec.rb index daf5845d..5071e564 100644 --- a/spec/features/sessions_spec.rb +++ b/spec/features/sessions_spec.rb @@ -17,7 +17,7 @@ describe "Logins" do end it "logs the user in" do - expect(page).to have_content("Log Out") + expect(page).to have_content(I18n.t("logout")) end it "has no errors" do diff --git a/spec/support/pages/dashboard_page.rb b/spec/support/pages/dashboard_page.rb index 3fb2992e..54331655 100644 --- a/spec/support/pages/dashboard_page.rb +++ b/spec/support/pages/dashboard_page.rb @@ -6,6 +6,6 @@ class DashboardPage < WebPage end def logout - click_link("Sign Out") + click_link(I18n.t("logout")) end end |
