impressionist/test_app/test/test_helper.rb

16 lines
498 B
Ruby
Raw Normal View History

2012-03-06 23:13:33 +00:00
ENV["RAILS_ENV"] = "test"
2012-03-06 23:24:13 +00:00
require 'simplecov'
SimpleCov.start 'rails'
2012-03-06 23:13:33 +00:00
require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help'
class ActiveSupport::TestCase
# Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
#
# Note: You'll currently still have to declare fixtures explicitly in integration tests
# -- they do not yet inherit this setting
fixtures :all
# Add more helper methods to be used by all tests here...
end