mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
load seeds before tests
This commit is contained in:
parent
2e7169ede7
commit
0d51220a8c
2 changed files with 3 additions and 1 deletions
|
|
@ -58,6 +58,7 @@ RSpec.configure do |config|
|
|||
|
||||
config.around(:each) do |example|
|
||||
DatabaseCleaner.cleaning do
|
||||
load "#{Rails.root}/db/seeds.rb"
|
||||
example.run
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue