module Ekylibre::PluginSystem::Mixin::TestCaseMixin
Public Instance Methods
after_teardown()
click to toggle source
Calls superclass method
# File lib/ekylibre/plugin_system/mixin/test_case_mixin.rb, line 17 def after_teardown super ensure Ekylibre::PluginSystem::GlobalContainer.unset end
before_setup()
click to toggle source
Calls superclass method
# File lib/ekylibre/plugin_system/mixin/test_case_mixin.rb, line 7 def before_setup container = Ekylibre::Application.instance.system.container RequestStore.clear! Ekylibre::PluginSystem::GlobalContainer.set(container.dup) super end
container()
click to toggle source
@return [Corindon::DependencyInjection::Container]
# File lib/ekylibre/plugin_system/mixin/test_case_mixin.rb, line 24 def container Ekylibre::PluginSystem::GlobalContainer.get end