Sha256: b42782d12db9d6be7197ba9fc4f2cc08495b63bdcab7dd8c0c28ca2461f5c65a

Contents?: true

Size: 297 Bytes

Versions: 7

Compression:

Stored size: 297 Bytes

Contents

module RogerFailTest
  class Test

    def initialize(options={})
      @options = {}
      @options.update(options) if options            
    end

    def call(test, options={})
      test.log(self, "Going to fail")
      false
    end

  end
end

Roger::Test.register :fail, RogerFailTest::Test

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
roger-1.1.3 test/project/lib/tests/fail/fail.rb
roger-1.1.2 test/project/lib/tests/fail/fail.rb
roger-1.1.1 test/project/lib/tests/fail/fail.rb
roger-1.1.0 test/project/lib/tests/fail/fail.rb
roger-1.0.1 test/project/lib/tests/fail/fail.rb
roger-1.0.0 test/project/lib/tests/fail/fail.rb
roger-0.13.0 test/project/lib/tests/fail/fail.rb