diff options
| author | mo khan <mo@mokhan.ca> | 2014-11-03 21:59:38 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-11-03 21:59:38 -0700 |
| commit | 745ef8d0f7e28be6cbf647f5519573e5f6a131d7 (patch) | |
| tree | 5bd6c8d0784c8ea883c764ab313f74fdc66898b8 /spec/features | |
| parent | 50870c285e44079486aff48db8f2ffbcaa3674d0 (diff) | |
fix broken tests.
Diffstat (limited to 'spec/features')
| -rw-r--r-- | spec/features/change_password_spec.rb | 2 | ||||
| -rw-r--r-- | spec/features/registration_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/change_password_spec.rb b/spec/features/change_password_spec.rb index 94f4dbb9..df386fd7 100644 --- a/spec/features/change_password_spec.rb +++ b/spec/features/change_password_spec.rb @@ -12,7 +12,7 @@ describe "changing my password", js: true do end click_button("Sign In") visit my_root_path - click_link("Account Settings") + click_link("Account") within(".form-horizontal") do fill_in('user_password', :with => "mopass") fill_in('user_password_confirmation', :with => "mopass") diff --git a/spec/features/registration_spec.rb b/spec/features/registration_spec.rb index 81144517..25bc2724 100644 --- a/spec/features/registration_spec.rb +++ b/spec/features/registration_spec.rb @@ -13,7 +13,7 @@ describe "Registration", :js => true do end it "should let you register with that email address" do - expect(page).to have_content("No new activity to report.") + expect(page).to have_content("Dashboard") end xit "should take you to the settings page" do |
