1
0

Added system tests under Redmine 4

This commit is contained in:
cryptogopher
2020-08-08 15:39:13 +02:00
parent c79e03d0f4
commit 66a364d017
7 changed files with 140 additions and 2 deletions

View File

@@ -0,0 +1,10 @@
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)
end
end
end
end