diff options
author | Rémy Coutable <remy@rymai.me> | 2018-09-25 20:08:23 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-09-25 20:08:23 +0300 |
commit | 4ca1afec3534b7e70454bfd99552804c55ca0c83 (patch) | |
tree | 5af5fa65292d604be54db82798d0dffbef1f74db /spec/models/commit_spec.rb | |
parent | bced03c8b290e0148f7f0aac2d09b2c3df3fa6d6 (diff) | |
parent | f6114939126493409eb7f1bab26eda15ec2d2473 (diff) |
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/commit_spec.rb')
-rw-r--r-- | spec/models/commit_spec.rb | 8 |
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) |