Remove fixtures, configure factory generation
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e5fe843814
commit
69b99711e5
@ -33,10 +33,11 @@ module Akkounts
|
||||
config.generators.system_tests = nil
|
||||
|
||||
config.generators do |g|
|
||||
g.orm :active_record
|
||||
g.template_engine :erb
|
||||
g.test_framework :rspec, fixture: true
|
||||
g.stylesheets false
|
||||
g.orm :active_record
|
||||
g.template_engine :erb
|
||||
g.test_framework :rspec, fixture: true
|
||||
g.fixture_replacement :factory_bot, suffix_factory: 'factory', dir: 'spec/factories'
|
||||
g.stylesheets false
|
||||
end
|
||||
end
|
||||
end
|
||||
|
13
spec/fixtures/invitations.yml
vendored
13
spec/fixtures/invitations.yml
vendored
@ -1,13 +0,0 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
token: fedcba654321
|
||||
user_id: 1
|
||||
invited_user_id: nil
|
||||
used_at: nil
|
||||
|
||||
two:
|
||||
token: abcdef123456
|
||||
user_id: 1
|
||||
invited_user_id: nil
|
||||
used_at: nil
|
7
spec/fixtures/users.yml
vendored
7
spec/fixtures/users.yml
vendored
@ -1,7 +0,0 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
uid: MyString
|
||||
|
||||
two:
|
||||
uid: MyString
|
Loading…
x
Reference in New Issue
Block a user