Sha256: cf17e106d22b4d8de859f4ae7bd0636d26f17270c20b944842fde8faa1c0fe1c

Contents?: true

Size: 700 Bytes

Versions: 2

Compression:

Stored size: 700 Bytes

Contents

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

gem 'mocha'
gem 'thoughtbot-quietbacktrace'
gem 'thoughtbot-shoulda'
gem 'thoughtbot-factory_girl'
gem 'redgreen'

require 'mocha'
require 'quietbacktrace'
require 'shoulda'
require 'factory_girl'
require 'redgreen'

Dir[File.join(RAILS_ROOT, 'test', 'factories', '*.rb')].each do |file|
  require file
end

class Test::Unit::TestCase
  
  self.backtrace_silencers << :rails_vendor
  self.backtrace_filters   << :rails_root
  
  self.use_transactional_fixtures = true
  self.use_instantiated_fixtures  = false

  include SortableTable::Test::TestHelper

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dancroak-sortable_table-0.1.0 test/rails_root/test/test_helper.rb
dancroak-sortable_table-0.1.1 test/rails_root/test/test_helper.rb