Sha256: 15dbb13e207e134b03e74fe01fe9006e28c23241128d42bda69f3b820bc98390

Contents?: true

Size: 558 Bytes

Versions: 6

Compression:

Stored size: 558 Bytes

Contents

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

# Run the migrations
ActiveRecord::Migration.verbose = false
ActiveRecord::Migrator.migrate("#{RAILS_ROOT}/db/migrate")

gem 'mocha'
gem 'thoughtbot-factory_girl' # from github

require 'mocha'
require 'factory_girl'
require File.expand_path(File.dirname(__FILE__)) + '/factories'

class Test::Unit::TestCase
  self.use_transactional_fixtures = true
  self.use_instantiated_fixtures  = false

  include Clearance::Test::TestHelper
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
hashrocket-clearance-0.4.0 test/rails_root/test/test_helper.rb
hashrocket-clearance-0.4.1 test/rails_root/test/test_helper.rb
hashrocket-clearance-0.4.2 test/rails_root/test/test_helper.rb
hashrocket-clearance-0.4.3 test/rails_root/test/test_helper.rb
thoughtbot-clearance-0.3.3 test/rails_root/test/test_helper.rb
thoughtbot-clearance-0.3.4 test/rails_root/test/test_helper.rb