Notes have noteables but no commits

This commit is contained in:
Jacob Vosmaer 2014-04-28 11:50:05 +02:00
parent 410790a355
commit e5cf5f4f98
1 changed files with 1 additions and 1 deletions

View File

@ -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]