summaryrefslogtreecommitdiff
path: root/spec/features/atom/dashboard_spec.rb
diff options
context:
space:
mode:
authortiagonbotelho <tiagonbotelho@hotmail.com>2016-07-25 19:16:19 +0100
committertiagonbotelho <tiagonbotelho@hotmail.com>2016-08-09 15:06:23 +0100
commit519275c1102ad8a1d56f5807de2d8a1ae4b21dc0 (patch)
tree1ce832653f3337793eda8d59df64ce9c0dc11058 /spec/features/atom/dashboard_spec.rb
parent551ffc0a4d25a381e9f8f6a8d6f2793bb87f3145 (diff)
downloadgitlab-ce-519275c1102ad8a1d56f5807de2d8a1ae4b21dc0.tar.gz
fixes part1 of files to start using active tense
Diffstat (limited to 'spec/features/atom/dashboard_spec.rb')
-rw-r--r--spec/features/atom/dashboard_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/atom/dashboard_spec.rb b/spec/features/atom/dashboard_spec.rb
index f81a3c117ff..746df36bb25 100644
--- a/spec/features/atom/dashboard_spec.rb
+++ b/spec/features/atom/dashboard_spec.rb
@@ -5,7 +5,7 @@ describe "Dashboard Feed", feature: true do
let!(:user) { create(:user, name: "Jonh") }
context "projects atom feed via private token" do
- it "should render projects atom feed" do
+ it "renders projects atom feed" do
visit dashboard_projects_path(:atom, private_token: user.private_token)
expect(body).to have_selector('feed title')
end
@@ -23,11 +23,11 @@ describe "Dashboard Feed", feature: true do
visit dashboard_projects_path(:atom, private_token: user.private_token)
end
- it "should have issue opened event" do
+ it "has issue opened event" do
expect(body).to have_content("#{user.name} opened issue ##{issue.iid}")
end
- it "should have issue comment event" do
+ it "has issue comment event" do
expect(body).
to have_content("#{user.name} commented on issue ##{issue.iid}")
end