diff options
author | Semyon Pupkov <mail@semyonpupkov.com> | 2018-09-20 20:02:36 +0300 |
---|---|---|
committer | Semyon Pupkov <mail@semyonpupkov.com> | 2018-09-21 10:37:57 +0300 |
commit | 87b85ef81cadacc753a5c538280d045a1bf35549 (patch) | |
tree | ec2f4e9151431b89c6527aba2f35667566eb743d /spec/factories/notes.rb | |
parent | 67cdb1d1be14c893bf195a9f0bc8ba82e5fce91c (diff) |
Fix DynamicAttributeDefinedStatically cop
Diffstat (limited to 'spec/factories/notes.rb')
-rw-r--r-- | spec/factories/notes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/notes.rb b/spec/factories/notes.rb index 6844ed8aa4a..2d1f48bf249 100644 --- a/spec/factories/notes.rb +++ b/spec/factories/notes.rb @@ -90,7 +90,7 @@ FactoryBot.define do noteable nil noteable_type 'Commit' noteable_id nil - commit_id RepoHelpers.sample_commit.id + commit_id { RepoHelpers.sample_commit.id } end trait :legacy_diff_note do |