Sha256: 454c8fab9adec17bd350058c462bac89fe935f912b9dc4fa0f2dccce1ebefc14

Contents?: true

Size: 373 Bytes

Versions: 15

Compression:

Stored size: 373 Bytes

Contents

# class Event
#   module TestLog
#     Event.observers << self
#     @@events = []
# 
#     class << self
#       def clear!
#         @@events = []
#       end
# 
#       def was_triggered?(type)
#         @@events.include? type
#       end
# 
#       def handle_event!(event)
#         @@events ||= []
#         @@events << event.type
#       end
#     end
#   end
# end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
adva-0.3.2 test/test_helper/extensions/even_test_log.rb
adva-0.3.1 test/test_helper/extensions/even_test_log.rb
adva-0.3.0 test/test_helper/extensions/even_test_log.rb
adva-0.2.4 test/test_helper/extensions/even_test_log.rb
adva-0.2.3 test/test_helper/extensions/even_test_log.rb
adva-0.2.2 test/test_helper/extensions/even_test_log.rb
adva-0.2.1 test/test_helper/extensions/even_test_log.rb
adva-0.2.0 test/test_helper/extensions/even_test_log.rb
adva-0.1.4 test/test_helper/extensions/even_test_log.rb
adva-0.1.3 test/test_helper/extensions/even_test_log.rb
adva-0.1.2 test/test_helper/extensions/even_test_log.rb
adva-0.1.1 test/test_helper/extensions/even_test_log.rb
adva-0.1.0 test/test_helper/extensions/even_test_log.rb
adva_cms-0.0.1 test/test_helper/extensions/even_test_log.rb
adva-0.0.1 adva_cms/test/test_helper/extensions/even_test_log.rb