Sha256: 3c3cd3afe4ba6f505fdff2dc25a4545d0458779a063190e8c9b97cb334da7352
Contents?: true
Size: 614 Bytes
Versions: 2
Compression:
Stored size: 614 Bytes
Contents
# Configure Rails Environment ENV["RAILS_ENV"] = "test" require File.expand_path("../dummy/config/environment.rb", __FILE__) require "rails/test_help" require "factory_girl" FactoryGirl.find_definitions 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 ActionController::TestCase setup do @routes = AsUser::Engine.routes end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
as_user-0.0.4 | test/test_helper.rb |
as_user-0.0.3 | test/test_helper.rb |