diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-06-14 01:30:09 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-06-14 01:37:30 +0300 |
commit | 37066267e75cbd10bad3046c61efdfd82bf6338b (patch) | |
tree | b082803c01148a49f33dfa9aa2546a4c3272c3cf /spec/features/admin | |
parent | 422236c71eb8f1c88e83331b6eb74211fd7ccf49 (diff) |
Use `page.all` and `page.within` in specs
Diffstat (limited to 'spec/features/admin')
-rw-r--r-- | spec/features/admin/admin_hooks_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/admin/admin_hooks_spec.rb b/spec/features/admin/admin_hooks_spec.rb index 00906e8087a..7265cdac7a7 100644 --- a/spec/features/admin/admin_hooks_spec.rb +++ b/spec/features/admin/admin_hooks_spec.rb @@ -12,7 +12,7 @@ describe "Admin::Hooks", feature: true do describe "GET /admin/hooks" do it "should be ok" do visit admin_root_path - within ".sidebar-wrapper" do + page.within ".sidebar-wrapper" do click_on "Hooks" end expect(current_path).to eq(admin_hooks_path) |