diff options
author | eileencodes <eileencodes@gmail.com> | 2016-08-26 12:24:51 -0400 |
---|---|---|
committer | eileencodes <eileencodes@gmail.com> | 2017-02-20 15:07:32 -0500 |
commit | fa2b7b03cc82bb40c76c37c91e4663de3ec0a77f (patch) | |
tree | bfebd53c48cded54a0e7b9f20c5f01c2271d1ff7 /actionpack | |
parent | 93eff636a677215eb130f775b99e9421fb30f7a2 (diff) | |
download | rails-fa2b7b03cc82bb40c76c37c91e4663de3ec0a77f.tar.gz rails-fa2b7b03cc82bb40c76c37c91e4663de3ec0a77f.tar.bz2 rails-fa2b7b03cc82bb40c76c37c91e4663de3ec0a77f.zip |
Inherit from ActionDispatch::IntegrationTest
Integration tests already handle all the fancy url mapping we need to do
so inherting from that allows us to not need to reinvent the wheel in
terms of loading up the route handling required to use `visit
users_path` over `visit /users`.
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/system_test_case.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/lib/system_test_case.rb b/actionpack/lib/system_test_case.rb index 4265798073..3a621fb6f0 100644 --- a/actionpack/lib/system_test_case.rb +++ b/actionpack/lib/system_test_case.rb @@ -1,8 +1,7 @@ require 'system_testing/base' module Rails - class SystemTestCase < ActiveSupport::TestCase - include Rails.application.routes.url_helpers + class SystemTestCase < ActionDispatch::IntegrationTest include SystemTesting::Base end end |