16 lines
491 B
Ruby
16 lines
491 B
Ruby
|
ENV['RAILS_ENV'] ||= 'test'
|
||
|
require File.expand_path('../../config/environment', __FILE__)
|
||
|
require 'rails/test_help'
|
||
|
require "minitest/autorun"
|
||
|
require 'minitest/reporters'
|
||
|
Minitest::Reporters.use! [Minitest::Reporters::DefaultReporter.new(color: true)]
|
||
|
|
||
|
class ActiveSupport::TestCase
|
||
|
ActiveRecord::Migration.check_pending!
|
||
|
|
||
|
# Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
|
||
|
fixtures :all
|
||
|
|
||
|
# Add more helper methods to be used by all tests here...
|
||
|
end
|