diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-10-12 16:23:15 +0200 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-10-12 16:23:15 +0200 |
commit | 6f35614852a7cf360bbc4af6ba6c450d8667c04e (patch) | |
tree | ff62ab82fafec3e8e40343f56c8d901705cc264d /spec/support | |
parent | 7a0cc665ff5ad3969f36082baa162a2169c34612 (diff) | |
download | gitlab-ce-6f35614852a7cf360bbc4af6ba6c450d8667c04e.tar.gz |
Fix mentionable specs
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/mentionable_shared_examples.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/mentionable_shared_examples.rb b/spec/support/mentionable_shared_examples.rb index 220566a22b6..412c6f4ead8 100644 --- a/spec/support/mentionable_shared_examples.rb +++ b/spec/support/mentionable_shared_examples.rb @@ -5,7 +5,7 @@ # - let(:set_mentionable_text) { lambda { |txt| "block that assigns txt to the subject's mentionable_text" } } def common_mentionable_setup - let(:project) { create :project } + let(:project) { subject.project } let(:author) { subject.author } let(:mentioned_issue) { create(:issue, project: project) } |