summaryrefslogtreecommitdiff
path: root/spec/models
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-09-25 17:08:23 +0000
committerRémy Coutable <remy@rymai.me>2018-09-25 17:08:23 +0000
commit4ca1afec3534b7e70454bfd99552804c55ca0c83 (patch)
tree5af5fa65292d604be54db82798d0dffbef1f74db /spec/models
parentbced03c8b290e0148f7f0aac2d09b2c3df3fa6d6 (diff)
parentf6114939126493409eb7f1bab26eda15ec2d2473 (diff)
downloadgitlab-ce-4ca1afec3534b7e70454bfd99552804c55ca0c83.tar.gz
Merge branch 'fix-committer-typo' into 'master'
Fix committer typo Closes #51808 See merge request gitlab-org/gitlab-ce!21899
Diffstat (limited to 'spec/models')
-rw-r--r--spec/models/commit_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/models/commit_spec.rb b/spec/models/commit_spec.rb
index a6957095166..ed41ff7a0fa 100644
--- a/spec/models/commit_spec.rb
+++ b/spec/models/commit_spec.rb
@@ -270,11 +270,11 @@ eos
let(:issue) { create :issue, project: project }
let(:other_project) { create(:project, :public) }
let(:other_issue) { create :issue, project: other_project }
- let(:commiter) { create :user }
+ let(:committer) { create :user }
before do
- project.add_developer(commiter)
- other_project.add_developer(commiter)
+ project.add_developer(committer)
+ other_project.add_developer(committer)
end
it 'detects issues that this commit is marked as closing' do
@@ -282,7 +282,7 @@ eos
allow(commit).to receive_messages(
safe_message: "Fixes ##{issue.iid} and #{ext_ref}",
- committer_email: commiter.email
+ committer_email: committer.email
)
expect(commit.closes_issues).to include(issue)