Sha256: 455efeede6a0f25c4e77faebd88569ed789cf1b37112395b3f0733f1d4371862

Contents?: true

Size: 398 Bytes

Versions: 1

Compression:

Stored size: 398 Bytes

Contents

require 'pathname'
require 'test/unit'
require 'shoulda'

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/shoulda.rb