Upgrade factory_bot, faker
This commit is contained in:
parent
e6a1bfcb45
commit
f2cb17bcd6
10 changed files with 33 additions and 33 deletions
|
|
@ -1,8 +1,8 @@
|
|||
require_relative '../spec_helper'
|
||||
|
||||
describe FoodsoftConfig do
|
||||
let(:name) { Faker::Lorem.words(rand(2..4)).join(' ') }
|
||||
let(:other_name) { Faker::Lorem.words(rand(2..4)).join(' ') }
|
||||
let(:name) { Faker::Lorem.words(number: rand(2..4)).join(' ') }
|
||||
let(:other_name) { Faker::Lorem.words(number: rand(2..4)).join(' ') }
|
||||
|
||||
it 'returns a default value' do
|
||||
expect(FoodsoftConfig[:protected][:database]).to be true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue