* Bump factory_bot_rails from 4.10.0 to 4.11.0 Bumps [factory_bot_rails](https://github.com/thoughtbot/factory_bot_rails) from 4.10.0 to 4.11.0. - [Release notes](https://github.com/thoughtbot/factory_bot_rails/releases) - [Changelog](https://github.com/thoughtbot/factory_bot_rails/blob/master/NEWS) - [Commits](https://github.com/thoughtbot/factory_bot_rails/compare/v4.10.0...v4.11.0) Signed-off-by: dependabot[bot] <support@dependabot.com> * Update factories to always use blocks
15 lines
449 B
Ruby
15 lines
449 B
Ruby
FactoryBot.define do
|
|
factory :github_repo do
|
|
user
|
|
name { Faker::Book.title }
|
|
url { Faker::Internet.url }
|
|
description { Faker::Book.title }
|
|
language { Faker::Book.title }
|
|
bytes_size { rand(100000) }
|
|
watchers_count { rand(100000) }
|
|
github_id_code { rand(100000) }
|
|
stargazers_count { rand(100000) }
|
|
featured { true }
|
|
fork { false }
|
|
end
|
|
end
|