Bump faker from 1.8.7 to 2.0
Since version 2.0 introduced many breaking changes, we're upgrading to it first. The changes have been done by installing the rubocop-faker gem and running: ``` rubocop \ --require rubocop-faker \ --only Faker/DeprecatedArguments \ --auto-correct ```
This commit is contained in:
@@ -391,8 +391,8 @@ namespace :proposal_actions do
|
||||
author = User.all.sample
|
||||
description = "<p>This is an example of a successful proposal with an ideal progress.</p>"
|
||||
proposal = Proposal.create!(author: author,
|
||||
title: Faker::Lorem.sentence(3).truncate(60),
|
||||
summary: Faker::Lorem.sentence(3),
|
||||
title: Faker::Lorem.sentence(word_count: 3).truncate(60),
|
||||
summary: Faker::Lorem.sentence(word_count: 3),
|
||||
responsible_name: Faker::Name.name,
|
||||
description: description,
|
||||
created_at: Time.current - expected_supports.length.days,
|
||||
|
||||
Reference in New Issue
Block a user