mirror of
https://github.com/projekteuler/projekteuler.git
synced 2025-12-10 08:46:41 +01:00
18 lines
421 B
Ruby
18 lines
421 B
Ruby
require 'coveralls'
|
|
Coveralls.wear!('rails')
|
|
|
|
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...
|
|
def login
|
|
admin = admins(:admin)
|
|
sign_in admin
|
|
end
|
|
end
|