diff options
Diffstat (limited to 'spec/factories/notes.rb')
-rw-r--r-- | spec/factories/notes.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/factories/notes.rb b/spec/factories/notes.rb index c51f2f958f9..4cb26a854f1 100644 --- a/spec/factories/notes.rb +++ b/spec/factories/notes.rb @@ -1,4 +1,4 @@ -require_relative '../support/helpers/repo_helpers' +require_relative "../support/helpers/repo_helpers" include ActionDispatch::TestProcess @@ -39,7 +39,7 @@ FactoryBot.define do factory :legacy_diff_note_on_merge_request, traits: [:on_merge_request, :legacy_diff_note], class: LegacyDiffNote do association :project, :repository - position '' + position "" end factory :diff_note_on_merge_request, traits: [:on_merge_request], class: DiffNote do @@ -103,7 +103,7 @@ FactoryBot.define do trait :on_commit do association :project, :repository noteable nil - noteable_type 'Commit' + noteable_type "Commit" noteable_id nil commit_id { RepoHelpers.sample_commit.id } end |