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