2016-01-11 22:01:33 +01:00
|
|
|
require 'simplecov'
|
|
|
|
SimpleCov.start 'rails'
|
|
|
|
|
2014-11-19 17:07:05 +01:00
|
|
|
ENV['RAILS_ENV'] ||= 'test'
|
|
|
|
require File.expand_path('../../config/environment', __FILE__)
|
|
|
|
require 'rails/test_help'
|
|
|
|
require 'capybara/rails'
|
|
|
|
|
2016-03-05 19:26:31 +01:00
|
|
|
require 'coveralls'
|
|
|
|
Coveralls.wear!
|
|
|
|
|
2014-11-19 17:07:05 +01:00
|
|
|
class ActiveSupport::TestCase
|
|
|
|
# Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
|
2015-09-27 10:25:40 +02:00
|
|
|
# fixtures :all
|
2014-11-19 17:07:05 +01:00
|
|
|
|
|
|
|
# Add more helper methods to be used by all tests here...
|
|
|
|
end
|
|
|
|
|
|
|
|
class ActionDispatch::IntegrationTest
|
|
|
|
# Make the Capybara DSL available in all integration tests
|
|
|
|
include Capybara::DSL
|
|
|
|
end
|