1
0

Target system tests started to run

This commit is contained in:
cryptogopher
2020-08-16 15:27:07 +02:00
parent 66a364d017
commit 955125b843
10 changed files with 41 additions and 6 deletions

View File

@@ -2,8 +2,8 @@ module BodyTracking::PluginFixturesLoader
def self.included(base)
base.class_eval do
def self.plugin_fixtures(*symbols)
fixtures_dir = File.expand_path('../../test/fixtures/', __FILE__)
ActiveRecord::Fixtures.create_fixtures(fixtures_dir, symbols)
fixtures_dir = File.expand_path('../../../test/fixtures/', __FILE__)
ActiveRecord::FixtureSet.create_fixtures(fixtures_dir, symbols)
end
end
end