MattZhao/AtRisk

View on GitHub
test/test_helper.rb

Summary

Maintainability
A
0 mins
Test Coverage
# trying to fix bug unknown coverage
require "codeclimate-test-reporter"
CodeClimate::TestReporter.start

require "simplecov"
SimpleCov.start do
  add_filter 'features/'
end

ENV['RAILS_ENV'] ||= 'test'
require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help'

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

class Test::Unit::TestCase
  include FactoryGirl::Syntax::Methods
end