Commit 6c724ed96c4666efc0994f81c97dc40a7580f927
1 parent
e2968755
Exists in
master
and in
4 other branches
Fix factories
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
spec/factories.rb
@@ -95,17 +95,17 @@ FactoryGirl.define do | @@ -95,17 +95,17 @@ FactoryGirl.define do | ||
95 | author | 95 | author |
96 | 96 | ||
97 | factory :note_on_commit, traits: [:on_commit] | 97 | factory :note_on_commit, traits: [:on_commit] |
98 | - factory :note_on_commit_line, traits: [:on_commit, :on_line] | 98 | + factory :note_on_commit_diff, traits: [:on_commit, :on_diff] |
99 | factory :note_on_issue, traits: [:on_issue], aliases: [:votable_note] | 99 | factory :note_on_issue, traits: [:on_issue], aliases: [:votable_note] |
100 | factory :note_on_merge_request, traits: [:on_merge_request] | 100 | factory :note_on_merge_request, traits: [:on_merge_request] |
101 | - factory :note_on_merge_request_line, traits: [:on_merge_request, :on_line] | 101 | + factory :note_on_merge_request_diff, traits: [:on_merge_request, :on_diff] |
102 | 102 | ||
103 | trait :on_commit do | 103 | trait :on_commit do |
104 | commit_id "bcf03b5de6c33f3869ef70d68cf06e679d1d7f9a" | 104 | commit_id "bcf03b5de6c33f3869ef70d68cf06e679d1d7f9a" |
105 | noteable_type "Commit" | 105 | noteable_type "Commit" |
106 | end | 106 | end |
107 | 107 | ||
108 | - trait :on_line do | 108 | + trait :on_diff do |
109 | line_code "0_184_184" | 109 | line_code "0_184_184" |
110 | end | 110 | end |
111 | 111 |