diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2014-09-24 08:28:41 +0200 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@gmail.com> | 2014-09-26 09:51:17 +0200 |
commit | 89f7345f3ffdc212e60d4d657d878d1e5d6d6f9a (patch) | |
tree | 50929c127d5b45237cfbe9dd1dd26a406a7e7ed5 /spec/features/atom/dashboard_spec.rb | |
parent | 1302dc8f0420dacec65ef1dcc955763c6c263cec (diff) | |
download | gitlab-ce-89f7345f3ffdc212e60d4d657d878d1e5d6d6f9a.tar.gz |
Remove unnecessary page. from tests.
Diffstat (limited to 'spec/features/atom/dashboard_spec.rb')
-rw-r--r-- | spec/features/atom/dashboard_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/atom/dashboard_spec.rb b/spec/features/atom/dashboard_spec.rb index a72a41fdf39..a7f87906b2d 100644 --- a/spec/features/atom/dashboard_spec.rb +++ b/spec/features/atom/dashboard_spec.rb @@ -7,7 +7,7 @@ describe "Dashboard Feed", feature: true do context "projects atom feed via private token" do it "should render projects atom feed" do visit dashboard_path(:atom, private_token: user.private_token) - page.body.should have_selector("feed title") + body.should have_selector("feed title") end end @@ -24,11 +24,11 @@ describe "Dashboard Feed", feature: true do end it "should have issue opened event" do - page.body.should have_content("#{user.name} opened issue ##{issue.iid}") + body.should have_content("#{user.name} opened issue ##{issue.iid}") end it "should have issue comment event" do - page.body.should have_content("#{user.name} commented on issue ##{issue.iid}") + body.should have_content("#{user.name} commented on issue ##{issue.iid}") end end end |