Module: EventedSpec::CoolioSpec

Defined in:
lib/evented-spec/coolio_spec.rb

Overview

Including EventedSpec::CoolioSpec module into your example group, each example of this group will run inside cool.io loop without the need to explicitly call ‘coolio’.

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(example_group) ⇒ Object



6
7
8
9
# File 'lib/evented-spec/coolio_spec.rb', line 6

def self.included(example_group)
  example_group.send(:include, SpecHelper)
  example_group.extend ClassMethods
end