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:
Diffstat (limited to 'spec/lib/votes_spec.rb')
-rw-r--r--spec/lib/votes_spec.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/spec/lib/votes_spec.rb b/spec/lib/votes_spec.rb
index df243a26008..39e5d054e62 100644
--- a/spec/lib/votes_spec.rb
+++ b/spec/lib/votes_spec.rb
@@ -179,7 +179,10 @@ describe Issue, 'Votes' do
def add_note(text, author = issue.author)
created_at = Time.now - 1.hour + Note.count.seconds
- issue.notes << create(:note, note: text, project: issue.project,
- author_id: author.id, created_at: created_at)
+ issue.notes << create(:note,
+ note: text,
+ project: issue.project,
+ author_id: author.id,
+ created_at: created_at)
end
end