Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-04-16 23:26:28 +0300
committerRobert Speicher <rspeicher@gmail.com>2015-04-16 23:30:16 +0300
commit8c9a148720121506151ab9697e29b67dd4c11ed4 (patch)
treeb085c9072091a7f7c6531389e4a83f9f7b6f1789 /spec/models/commit_spec.rb
parentdee52393b5b76c5d30addbfe7ba43e718b67a371 (diff)
Update mentionable shared examples to be (a bit) more understandable
Diffstat (limited to 'spec/models/commit_spec.rb')
-rw-r--r--spec/models/commit_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/commit_spec.rb b/spec/models/commit_spec.rb
index 2cc23efb986..506bc3339b6 100644
--- a/spec/models/commit_spec.rb
+++ b/spec/models/commit_spec.rb
@@ -69,9 +69,9 @@ eos
end
it_behaves_like 'a mentionable' do
- let(:mauthor) { create :user, email: commit.author_email }
subject { commit }
+ let(:author) { create(:user, email: commit.author_email) }
let(:backref_text) { "commit #{subject.id}" }
let(:set_mentionable_text) { ->(txt){ subject.stub(safe_message: txt) } }