diff options
| author | mo <mokha@cisco.com> | 2017-09-02 16:30:47 -0600 |
|---|---|---|
| committer | mo <mokha@cisco.com> | 2017-09-02 16:30:47 -0600 |
| commit | 5577b046477a20e53e5c6455975a0c26a2d28379 (patch) | |
| tree | 7612537458ac185bf731b74b8bbb50aeba0e2bd0 /spec | |
| parent | 5f851289b3c6212f4297a0db95342effde9f3156 (diff) | |
add translation and fix spec.
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/features/change_password_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/features/change_password_spec.rb b/spec/features/change_password_spec.rb index b2fd2b3e..6db340bb 100644 --- a/spec/features/change_password_spec.rb +++ b/spec/features/change_password_spec.rb @@ -8,7 +8,8 @@ describe "changing my password", js: true do it "displays a confirmation message" do visit my_dashboard_path - click_link("Account") + click_link(I18n.t("my.shared.my_nav.change_password")) + within(".form-horizontal") do fill_in("user_password", with: "secret") fill_in("user_password_confirmation", with: "secret") |
