Commit e5cf5f4f98464543ec2f06415e071b8110368cc7

Authored by Jacob Vosmaer
1 parent 410790a3

Notes have noteables but no commits

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
spec/finders/notes_finder_spec.rb
... ... @@ -5,7 +5,7 @@ describe NotesFinder do
5 5 let(:project) { create :project }
6 6 let(:note1) { create :note_on_commit, project: project }
7 7 let(:note2) { create :note_on_commit, project: project }
8   - let(:commit) { note1.commit }
  8 + let(:commit) { note1.noteable }
9 9  
10 10 before do
11 11 project.team << [user, :master]
... ...