summaryrefslogtreecommitdiff
path: root/spec/finders
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2014-04-28 11:50:05 +0200
committerJacob Vosmaer <contact@jacobvosmaer.nl>2014-04-28 11:50:21 +0200
commite5cf5f4f98464543ec2f06415e071b8110368cc7 (patch)
treebbb72d34a77488a6105cf33fedd1e8990c4abb7f /spec/finders
parent410790a355a6389bfa372e0834c31541b8ac8e4f (diff)
downloadgitlab-ce-e5cf5f4f98464543ec2f06415e071b8110368cc7.tar.gz
Notes have noteables but no commits
Diffstat (limited to 'spec/finders')
-rw-r--r--spec/finders/notes_finder_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/finders/notes_finder_spec.rb b/spec/finders/notes_finder_spec.rb
index f0588f56b47..3b28070ffaa 100644
--- a/spec/finders/notes_finder_spec.rb
+++ b/spec/finders/notes_finder_spec.rb
@@ -5,7 +5,7 @@ describe NotesFinder do
let(:project) { create :project }
let(:note1) { create :note_on_commit, project: project }
let(:note2) { create :note_on_commit, project: project }
- let(:commit) { note1.commit }
+ let(:commit) { note1.noteable }
before do
project.team << [user, :master]