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:
authorRémy Coutable <remy@rymai.me>2016-01-14 12:04:48 +0300
committerRémy Coutable <remy@rymai.me>2016-01-14 12:04:48 +0300
commite918493f55eb27cdb779f0bc2d8cbbace8b69aa9 (patch)
tree53aafcde836645b6d96326f696b665182fac6b3c /spec/models/note_spec.rb
parent33ea09bdf9c05c60438f03ac1fe94b52615cd05e (diff)
Fix specs and rubocop warnings
Diffstat (limited to 'spec/models/note_spec.rb')
-rw-r--r--spec/models/note_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/note_spec.rb b/spec/models/note_spec.rb
index 65e6a7df3b4..9182b42661d 100644
--- a/spec/models/note_spec.rb
+++ b/spec/models/note_spec.rb
@@ -186,12 +186,12 @@ describe Note, models: true do
let(:ext_proj) { create(:project, :public) }
let(:ext_issue) { create(:issue, project: ext_proj) }
- let(:note) {
+ let(:note) do
create :note,
noteable: ext_issue, project: ext_proj,
note: "mentioned in issue #{private_issue.to_reference(ext_proj)}",
system: true
- }
+ end
it "returns true" do
expect(note.cross_reference_not_visible_for?(ext_issue.author)).to be_truthy