Sha256: e1459a69e2fe03bc8fef82cf0b9bc643310c60e386c5a0f688a8f1b43868f1ca

Contents?: true

Size: 711 Bytes

Versions: 4

Compression:

Stored size: 711 Bytes

Contents

$:.unshift(File.dirname(__FILE__) + '/../lib')

ENV["RAILS_ENV"] = "test"
require File.expand_path(File.dirname(__FILE__) + "/config/environment")

require 'test/unit'
require 'rubygems'
require 'active_record'
require 'active_support'
require "#{File.dirname(__FILE__)}/../lib/role"
require "#{File.dirname(__FILE__)}/../lib/active_record/aggregations/has_roles"

load(File.dirname(__FILE__) + "/schema.rb")

ActiveRecord::Base.send(:include, ActiveRecord::Aggregations::HasRoles)

require 'action_filters'
require 'test/models/user'

require File.expand_path(File.dirname(__FILE__) + "/blueprints")
require 'mocha'
require 'shoulda'
require 'matchy'

class ActiveSupport::TestCase
  setup { Sham.reset }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
objectreload-roles-0.1.4 test/test_helper.rb
objectreload-roles-0.1.2 test/test_helper.rb
objectreload-roles-0.1.1 test/test_helper.rb
objectreload-roles-0.1.0 test/test_helper.rb