Sha256: 79fa8b32ac84f4d7693e49df678d7770a159ed3f906fd9d3097f5fa78ca61c57
Contents?: true
Size: 373 Bytes
Versions: 18
Compression:
Stored size: 373 Bytes
Contents
# frozen_string_literal: true module RedminePluginsHelper module TestHelper def plugin_fixtures(plugin_name, *files) fixtures_dir = File.expand_path( 'test/fixtures', ::Redmine::Plugin.registered_plugins[plugin_name].directory ) ActiveRecord::FixtureSet.create_fixtures(fixtures_dir, files) fixtures(*files) end end end
Version data entries
18 entries across 18 versions & 1 rubygems