Sha256: f86663deebedabf3f9971caad67bd74ab318b7ffa16b589bb5dde093f2c03089

Contents?: true

Size: 380 Bytes

Versions: 1

Compression:

Stored size: 380 Bytes

Contents

require 'pathname'
require 'test/unit'

root  = Pathname(__FILE__).dirname.parent.parent.expand_path
require root + 'lib/phocus'

module Test #:nodoc: all
  class Unit::TestCase
    include ::Phocus
  end
end

module Test #:nodoc: all
  class Unit::TestSuite
    # TODO only override when @@__focused
    def empty?
      false
    end
  end
end

Phocus.method_pattern = /^test_/

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mynyml-phocus-0.9.8 lib/phocus/test_unit.rb