Sha256: 803cc8fb66f419e72b0bb75042584dd6a22ba3f03ae71ec6ed5e7dc40be71b24

Contents?: true

Size: 580 Bytes

Versions: 7

Compression:

Stored size: 580 Bytes

Contents

$:.unshift File.dirname(__FILE__) + '/../../../../../lib'
require 'adhearsion'
require 'test/unit'
require 'flexmock/test_unit'
AHN_ROOT = Adhearsion::PathString.new(File.dirname(__FILE__) + '/../../..')
Adhearsion::ComponentManager.load
Adhearsion::ComponentManager.start

class Test::Unit::TestCase
  Adhearsion::ComponentManager.components_with_call_context.each_pair do |component_class_name, component_configuration|
    const_set(component_class_name, component_configuration.component_class)
    const_get(component_class_name).send(:attr_accessor, :call_context)
  end
end

Version data entries

7 entries across 4 versions & 3 rubygems

Version Path
eric-adhearsion-0.7.999 ahn_generators/component/templates/test/test_helper.rb
eric-adhearsion-0.7.999 app_generators/ahn/templates/components/simon_game/test/test_helper.rb
sant0sk1-adhearsion-0.7.999 app_generators/ahn/templates/components/simon_game/test/test_helper.rb
sevenscale-adhearsion-0.7.1000 app_generators/ahn/templates/components/simon_game/test/test_helper.rb
sevenscale-adhearsion-0.7.1000 ahn_generators/component/templates/test/test_helper.rb
sevenscale-adhearsion-0.7.1003 app_generators/ahn/templates/components/simon_game/test/test_helper.rb
sevenscale-adhearsion-0.7.1003 ahn_generators/component/templates/test/test_helper.rb