Commit e5cf5f4f98464543ec2f06415e071b8110368cc7
1 parent
410790a3
Exists in
spb-stable
and in
2 other branches
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,7 +5,7 @@ describe NotesFinder do | ||
5 | let(:project) { create :project } | 5 | let(:project) { create :project } |
6 | let(:note1) { create :note_on_commit, project: project } | 6 | let(:note1) { create :note_on_commit, project: project } |
7 | let(:note2) { create :note_on_commit, project: project } | 7 | let(:note2) { create :note_on_commit, project: project } |
8 | - let(:commit) { note1.commit } | 8 | + let(:commit) { note1.noteable } |
9 | 9 | ||
10 | before do | 10 | before do |
11 | project.team << [user, :master] | 11 | project.team << [user, :master] |