Sha256: 546cbfc3979fdecc869be8c71c9211f2077631af6d6dfee5ea0557ce8fedb4ad

Contents?: true

Size: 672 Bytes

Versions: 2

Compression:

Stored size: 672 Bytes

Contents

require 'rubygems'
require 'pathname'
require 'logger'
require 'active_record'
require 'test/unit'
require 'active_record/test_case'
require 'shoulda'
require 'mocha'

Root = Pathname.new(__FILE__).dirname.join('..')
$: << Root.join('lib').to_s

require 'blueprints'
require File.dirname(__FILE__) + "/../spec/support/active_record/initializer"

class ActiveSupport::TestCase
  def assert_similar(array1, array2)
    assert (array1 - array2).empty?, "Extra elements #{array1 - array2}"
    assert (array2 - array1).empty?, "Missing elements #{array2 - array1}"
  end
end

Blueprints.enable do |config|
  config.root = Root.join('spec')
  config.prebuild = :big_cherry
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
blueprints-1.0.1 test/test_helper.rb
blueprints-1.0.0 test/test_helper.rb