2015-01-15 12:28:02 -05:00
|
|
|
require "rubygems"
|
|
|
|
require "bundler"
|
|
|
|
|
|
|
|
gem 'minitest'
|
|
|
|
require "minitest/autorun"
|
|
|
|
|
|
|
|
Bundler.setup
|
|
|
|
Bundler.require :default, :test
|
|
|
|
|
|
|
|
require 'puma'
|
2015-07-12 11:07:31 -04:00
|
|
|
require 'mocha/mini_test'
|
2015-01-15 12:28:02 -05:00
|
|
|
|
2015-07-22 13:37:57 -04:00
|
|
|
require 'rack/mock'
|
|
|
|
|
2015-01-15 12:28:02 -05:00
|
|
|
require 'action_cable'
|
|
|
|
ActiveSupport.test_order = :sorted
|
|
|
|
|
2015-07-13 11:43:52 -04:00
|
|
|
# Require all the stubs and models
|
|
|
|
Dir[File.dirname(__FILE__) + '/stubs/*.rb'].each {|file| require file }
|
2015-07-14 11:58:46 -04:00
|
|
|
|
|
|
|
Celluloid.logger = Logger.new(StringIO.new)
|