Load also test/fixtures/seeds.rb.

This commit is contained in:
Martin Edenhofer 2016-04-26 12:35:31 +02:00
parent 0d77d69146
commit 75104e3c46

View file

@ -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'),