diff options
author | ThibG <thib@sitedethib.com> | 2019-08-07 20:04:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-07 20:04:22 +0200 |
commit | 86cfa2ea6cb94c9597b9fcda034c8b4d959c5e3e (patch) | |
tree | 2e1b3be0201e53c96f05993f1295b0e97bb14166 /spec/models/report_spec.rb | |
parent | 8400ddca7155005ab79485ed6054c04ea3ca5667 (diff) | |
parent | e8ad0a800616a1f95fd71ab8457869e716212ca0 (diff) |
Merge pull request #1193 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'spec/models/report_spec.rb')
-rw-r--r-- | spec/models/report_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/report_spec.rb b/spec/models/report_spec.rb index a0cd0800d..312954c9d 100644 --- a/spec/models/report_spec.rb +++ b/spec/models/report_spec.rb @@ -125,7 +125,7 @@ describe Report do end it 'is invalid if comment is longer than 1000 characters' do - report = Fabricate.build(:report, comment: Faker::Lorem.characters(1001)) + report = Fabricate.build(:report, comment: Faker::Lorem.characters(number: 1001)) report.valid? expect(report).to model_have_error_on_field(:comment) end |