mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Seed the in-memory test db.
This commit is contained in:
parent
022c733b6d
commit
3b84b57a02
1 changed files with 1 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ require File.expand_path("../../config/environment", __FILE__)
|
|||
|
||||
if Rails.configuration.database_configuration['test']['database'] == ':memory:'
|
||||
load "#{Rails.root}/db/schema.rb"
|
||||
load "#{Rails.root}/db/seeds.rb"
|
||||
end
|
||||
|
||||
require 'rspec/rails'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue