Commit e5cf5f4f authored by Jacob Vosmaer's avatar Jacob Vosmaer

Notes have noteables but no commits

parent 410790a3
...@@ -5,7 +5,7 @@ describe NotesFinder do ...@@ -5,7 +5,7 @@ describe NotesFinder do
let(:project) { create :project } let(:project) { create :project }
let(:note1) { create :note_on_commit, project: project } let(:note1) { create :note_on_commit, project: project }
let(:note2) { create :note_on_commit, project: project } let(:note2) { create :note_on_commit, project: project }
let(:commit) { note1.commit } let(:commit) { note1.noteable }
before do before do
project.team << [user, :master] project.team << [user, :master]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment