Sha256: 40cf56055bf88aa25ec985f9c8fcce2d14aeec234ff0712d3a7d88608617c024

Contents?: true

Size: 469 Bytes

Versions: 6

Compression:

Stored size: 469 Bytes

Contents

require 'rubygems'
require 'test/unit'
require 'shoulda'

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'have-code'

class Test::Unit::TestCase
  def self.in_activerecord(&block)
    require 'active_record_helper'
    context "Mug, an ActiveRecord class,", &block
  end
  def self.in_datamapper(&block)
    require 'data_mapper_helper'
    context "Goblet, a DataMapper class,", &block
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
bkerley-have-code-0.1.1 test/test_helper.rb
bkerley-have-code-0.1.2 test/test_helper.rb
bkerley-have-code-0.1.3 test/test_helper.rb
have-code-0.2.0 test/test_helper.rb
have-code-0.1.2 test/test_helper.rb
have-code-0.1.3 test/test_helper.rb