Sha256: 97a8997309f528f8eb420e76362b57254b24858cf11b1e4d40332958f3dc8141

Contents?: true

Size: 708 Bytes

Versions: 19

Compression:

Stored size: 708 Bytes

Contents

$:.reject! { |e| e.include? 'TextMate' }
ENV["RAILS_ENV"] = "test"
require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
require 'test_help'
gem 'thoughtbot-factory_girl' # from github
require 'factory_girl'
require 'mocha'
require 'redgreen' rescue LoadError
require File.expand_path(File.dirname(__FILE__) + '/factories')
require File.join(File.dirname(__FILE__), 'shoulda_macros', 'controller')
require File.join(File.dirname(__FILE__), 'shoulda_macros', 'models')

class ActiveSupport::TestCase 
  self.use_transactional_fixtures = true
  self.use_instantiated_fixtures  = false
  
  def ensure_flash(val)
    assert_contains flash.values, val, ", Flash: #{flash.inspect}"
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
muck-engine-0.1.31 test/rails_root/test/test_helper.rb
muck-engine-0.1.24 test/rails_root/test/test_helper.rb
muck-engine-0.1.25 test/rails_root/test/test_helper.rb
muck-engine-0.1.26 test/rails_root/test/test_helper.rb
muck-engine-0.1.27 test/rails_root/test/test_helper.rb
muck-engine-0.1.28 test/rails_root/test/test_helper.rb
muck-engine-0.1.29 test/rails_root/test/test_helper.rb
muck-engine-0.1.30 test/rails_root/test/test_helper.rb
muck-engine-0.1.13 test/rails_root/test/test_helper.rb
muck-engine-0.1.14 test/rails_root/test/test_helper.rb
muck-engine-0.1.15 test/rails_root/test/test_helper.rb
muck-engine-0.1.16 test/rails_root/test/test_helper.rb
muck-engine-0.1.17 test/rails_root/test/test_helper.rb
muck-engine-0.1.18 test/rails_root/test/test_helper.rb
muck-engine-0.1.19 test/rails_root/test/test_helper.rb
muck-engine-0.1.20 test/rails_root/test/test_helper.rb
muck-engine-0.1.21 test/rails_root/test/test_helper.rb
muck-engine-0.1.22 test/rails_root/test/test_helper.rb
muck-engine-0.1.23 test/rails_root/test/test_helper.rb