Skip to content

Instantly share code, notes, and snippets.

@sergiomaia
Created September 15, 2016 00:21
Show Gist options
  • Save sergiomaia/f094377831445977579c38927c22a4ab to your computer and use it in GitHub Desktop.
Save sergiomaia/f094377831445977579c38927c22a4ab to your computer and use it in GitHub Desktop.
Default Rails tests to show red and green
ENV['RAILS_ENV'] ||= 'test'
require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help'
require "minitest/reporters"
Minitest::Reporters.use!
class ActiveSupport::TestCase
# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment