Sha256: ca4253c5ac09915806bbfd795dd3a53d17610e67483129947c0039db61c8de6c
Contents?: true
Size: 678 Bytes
Versions: 2
Compression:
Stored size: 678 Bytes
Contents
require 'coveralls' Coveralls.wear!('rails') # Configure Rails Environment ENV["RAILS_ENV"] = "test" require File.expand_path("../dummy/config/environment.rb", __FILE__) require "rails/test_help" # remove comment to watch all backtrace #Rails.backtrace_cleaner.remove_silencers! # Load support files Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } # outside of if block ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__) class ActiveSupport::TestCase fixtures :all end #fixes other problems with controller tests (url helpers) class ActionController::TestCase setup do @routes = Jobs::Engine.routes end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jobs-0.0.5 | test/test_helper.rb |
jobs-0.0.4 | test/test_helper.rb |