summaryrefslogtreecommitdiff
path: root/spec/services/event_create_service_spec.rb
diff options
context:
space:
mode:
authorValery Sizov <valery@gitlab.com>2016-08-11 18:30:18 +0300
committerJames Edwards-Jones <jedwardsjones@gitlab.com>2017-02-01 22:45:41 +0000
commitceb1ebd9590aaddc96cc059735bcf571464a8460 (patch)
tree1f7a4ade7c6c54dbddce3e9054cf97cf9a5d7f83 /spec/services/event_create_service_spec.rb
parent659cceb0e8694b58a8b665de3f338245244ef114 (diff)
downloadgitlab-ce-ceb1ebd9590aaddc96cc059735bcf571464a8460.tar.gz
Active tense test coveragejej-backport-active-tense-specs
Ports changes from https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/642 back into CE
Diffstat (limited to 'spec/services/event_create_service_spec.rb')
-rw-r--r--spec/services/event_create_service_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/services/event_create_service_spec.rb b/spec/services/event_create_service_spec.rb
index b7dc99ed887..f2c2009bcbf 100644
--- a/spec/services/event_create_service_spec.rb
+++ b/spec/services/event_create_service_spec.rb
@@ -9,7 +9,7 @@ describe EventCreateService, services: true do
it { expect(service.open_issue(issue, issue.author)).to be_truthy }
- it "should create new event" do
+ it "creates new event" do
expect { service.open_issue(issue, issue.author) }.to change { Event.count }
end
end
@@ -19,7 +19,7 @@ describe EventCreateService, services: true do
it { expect(service.close_issue(issue, issue.author)).to be_truthy }
- it "should create new event" do
+ it "creates new event" do
expect { service.close_issue(issue, issue.author) }.to change { Event.count }
end
end
@@ -29,7 +29,7 @@ describe EventCreateService, services: true do
it { expect(service.reopen_issue(issue, issue.author)).to be_truthy }
- it "should create new event" do
+ it "creates new event" do
expect { service.reopen_issue(issue, issue.author) }.to change { Event.count }
end
end