Sha256: f2afbb2ea2f1afd0e889cd3bb31d69f0f7e2c642a74b15fe178fc06baed285a2
Contents?: true
Size: 727 Bytes
Versions: 13
Compression:
Stored size: 727 Bytes
Contents
# frozen_string_literal: true require 'active_support' module RedminePluginsHelper module Patches module TestCasePatch extend ActiveSupport::Concern included do extend ::RedminePluginsHelper::TestHelper include InstanceMethods setup { the_test_config.before_each } teardown { the_test_config.after_each } end module InstanceMethods def the_test_config @the_test_config ||= ::RedminePluginsHelper::TestConfig.new end end end end end unless ActiveSupport::TestCase.included_modules.include?( RedminePluginsHelper::Patches::TestCasePatch ) ActiveSupport::TestCase.include RedminePluginsHelper::Patches::TestCasePatch end
Version data entries
13 entries across 13 versions & 1 rubygems