summaryrefslogtreecommitdiff
path: root/spec/support/mentionable_shared_examples.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-04-16 16:25:25 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-04-16 16:30:16 -0400
commitdee52393b5b76c5d30addbfe7ba43e718b67a371 (patch)
treef8dc6343ca0e95ef7882e2916b10b4059da4173d /spec/support/mentionable_shared_examples.rb
parent2dace3679fb9a086a015dcca213c6e563a08764e (diff)
downloadgitlab-ce-dee52393b5b76c5d30addbfe7ba43e718b67a371.tar.gz
Correct usage of `subject` in specs
Diffstat (limited to 'spec/support/mentionable_shared_examples.rb')
-rw-r--r--spec/support/mentionable_shared_examples.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/mentionable_shared_examples.rb b/spec/support/mentionable_shared_examples.rb
index 305592fa5a6..35ed126b5bc 100644
--- a/spec/support/mentionable_shared_examples.rb
+++ b/spec/support/mentionable_shared_examples.rb
@@ -1,6 +1,6 @@
# Specifications for behavior common to all Mentionable implementations.
# Requires a shared context containing:
-# - let(:subject) { "the mentionable implementation" }
+# - subject { "the mentionable implementation" }
# - let(:backref_text) { "the way that +subject+ should refer to itself in backreferences " }
# - let(:set_mentionable_text) { lambda { |txt| "block that assigns txt to the subject's mentionable_text" } }