Sha256: bad154162a1b98a2a824072ea339547d00a8634751642b41d35a9ca50358f5cc
Contents?: true
Size: 798 Bytes
Versions: 4
Compression:
Stored size: 798 Bytes
Contents
# Configure Rails Environment ENV["RAILS_ENV"] = "test" require File.expand_path("../dummy/config/environment.rb", __FILE__) require "rails/test_help" Rails.backtrace_cleaner.remove_silencers! # Load support files Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } # Load fixtures from the engine if ActiveSupport::TestCase.method_defined?(:fixture_path=) ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__) end class ActiveSupport::TestCase fixtures :all end if ActionDispatch::IntegrationTest.method_defined?(:fixture_path=) ActionDispatch::IntegrationTest.fixture_path = File.expand_path("../fixtures", __FILE__) end module Kblog class ActionController::TestCase setup do @routes = Engine.routes end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
kblog-0.0.4 | test/test_helper.rb |
kblog-0.0.3 | test/test_helper.rb |
kblog-0.0.2 | test/test_helper.rb |
kblog-0.0.1 | test/test_helper.rb |