Sha256: e8601bb575731f8373a65adc0a0864471a78c1011f86808bbd8d606ccb8a5c9e
Contents?: true
Size: 707 Bytes
Versions: 3
Compression:
Stored size: 707 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 'ruby-debug' require 'mocha' require 'redgreen' rescue LoadError require File.expand_path(File.dirname(__FILE__) + '/factories') class ActiveSupport::TestCase VALID_FILE = ActionController::TestUploadedFile.new(File.join(RAILS_ROOT, 'public/images/rails.png'), 'image/png') 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
uploader-0.1.13 | test/rails_root/test/test_helper.rb |
uploader-0.1.12 | test/rails_root/test/test_helper.rb |
uploader-0.1.14 | test/rails_root/test/test_helper.rb |