Sha256: 92847893461b3a82c6ec4fae4da7e10af9cba0dafe3bb0a4eb091c998cfefaeb

Contents?: true

Size: 303 Bytes

Versions: 10

Compression:

Stored size: 303 Bytes

Contents

require 'sanford/test_runner'

module Sanford

  module TestHelpers

    module_function

    def test_runner(handler_class, args = nil)
      TestRunner.new(handler_class, args)
    end

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

  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
sanford-0.15.1 lib/sanford/test_helpers.rb
sanford-0.15.0 lib/sanford/test_helpers.rb
sanford-0.14.0 lib/sanford/test_helpers.rb
sanford-0.13.0 lib/sanford/test_helpers.rb
sanford-0.12.0 lib/sanford/test_helpers.rb
sanford-0.11.1 lib/sanford/test_helpers.rb
sanford-0.11.0 lib/sanford/test_helpers.rb
sanford-0.10.1 lib/sanford/test_helpers.rb
sanford-0.10.0 lib/sanford/test_helpers.rb
sanford-0.9.0 lib/sanford/test_helpers.rb