move plugin fixture to the front of the queue

This commit is contained in:
Sam 2018-06-07 19:56:07 +10:00
parent d3b8ee761c
commit 3291f2c0eb
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ end
require_relative 'lib/discourse_narrative_bot/welcome_post_type_site_setting.rb'
after_initialize do
SeedFu.fixture_paths << Rails.root.join("plugins", "discourse-narrative-bot", "db", "fixtures").to_s
SeedFu.fixture_paths.unshift Rails.root.join("plugins", "discourse-narrative-bot", "db", "fixtures").to_s
Mime::Type.register "image/svg+xml", :svg