Sha256: f69bdb089eb5ea03f0694b5f6b99e7291a88917d899398be0caf4ee0aeb328da

Contents?: true

Size: 295 Bytes

Versions: 2

Compression:

Stored size: 295 Bytes

Contents

require 'qs/test_runner'

module Qs::EventHandler

  module TestHelpers

    def test_runner(handler_class, args = nil)
      Qs::EventTestRunner.new(handler_class, args)
    end

    def test_handler(handler_class, args = nil)
      test_runner(handler_class, args).handler
    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
qs-0.5.0 lib/qs/event_handler_test_helpers.rb
qs-0.4.0 lib/qs/event_handler_test_helpers.rb