Load also test/fixtures/seeds.rb.
This commit is contained in:
parent
0d77d69146
commit
75104e3c46
1 changed files with 3 additions and 0 deletions
|
@ -40,6 +40,9 @@ class ReportTest < ActiveSupport::TestCase
|
||||||
updated_by_id: 1,
|
updated_by_id: 1,
|
||||||
created_by_id: 1
|
created_by_id: 1
|
||||||
)
|
)
|
||||||
|
|
||||||
|
load "#{Rails.root}/test/fixtures/seeds.rb"
|
||||||
|
|
||||||
ticket1 = Ticket.create(
|
ticket1 = Ticket.create(
|
||||||
title: 'test 1',
|
title: 'test 1',
|
||||||
group: Group.lookup(name: 'Report Test'),
|
group: Group.lookup(name: 'Report Test'),
|
||||||
|
|
Loading…
Reference in a new issue