1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test/dispatch
Fumiaki MATSUSHIMA ec99107a29 Pass options to driven_by
Capybara drivers can handle some options such like `url`.

### before

```
# test/test_helper.rb
Capybara.register_driver :remote_chrome do |app|
  Capybara::Selenium::Driver.new(app, browser: :chrome, url: "http://example.com/wd/hub")
end

# test/application_system_test_case.rb
class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
  driven_by :remote_chrome
end
```

### after

```
# test/application_system_test_case.rb
class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
  driven_by :selenium, using: :chrome, screen_size: [1400, 1400], options: {url: "http://chrome:4444/wd/hub"}
end
```
2017-03-13 19:59:01 +09:00
..
request "Use assert_nil if expecting nil. This will fail in minitest 6." 2016-12-25 02:29:52 +09:00
routing Clarify use of params in direct 2017-02-22 21:22:22 +00:00
session Reduce string objects by using \ instead of + or << for concatenating strings 2017-01-12 17:45:37 +09:00
system_testing Pass options to driven_by 2017-03-13 19:59:01 +09:00
callbacks_test.rb Remove deprecated callbacks from ActionDispatch middlewares 2017-01-31 15:52:12 -05:00
cookies_test.rb Revert "Merge pull request #27586 from maclover7/jm-fix-27584" 2017-01-11 19:43:32 -05:00
debug_exceptions_test.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
exception_wrapper_test.rb applies new string literal convention in actionpack/test 2016-08-06 18:54:50 +02:00
executor_test.rb remove redundant curlies from hash arguments 2016-08-06 19:44:11 +02:00
header_test.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
live_response_test.rb applies new string literal convention in actionpack/test 2016-08-06 18:54:50 +02:00
mapper_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
middleware_stack_test.rb Remove deprecated support to passing strings to the middleware stack 2016-10-10 01:35:59 -03:00
mime_type_test.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
mount_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
prefix_generation_test.rb Use ActionDispatch::IntegrationTest http helper methods 2017-01-18 16:58:50 +00:00
rack_cache_test.rb remove redundant curlies from hash arguments 2016-08-06 19:44:11 +02:00
reloader_test.rb Add Style/EmptyLinesAroundMethodBody in .rubocop.yml and remove extra empty lines 2017-02-12 20:44:15 +09:00
request_id_test.rb Add Style/EmptyLines in .rubocop.yml and remove extra empty lines 2016-08-07 17:50:59 +09:00
request_test.rb Small spelling error 2017-01-14 11:33:59 +08:00
response_test.rb Fix Rubocop violations and fix documentation visibility 2016-12-28 21:53:51 -05:00
routing_assertions_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
routing_test.rb Commit flash changes when using a redirect route. 2017-02-25 17:07:07 +00:00
runner_test.rb Add Style/EmptyLinesAroundMethodBody in .rubocop.yml and remove extra empty lines 2017-02-12 20:44:15 +09:00
show_exceptions_test.rb Deprecated ActionDispatch::ParamsParser::ParamsParser 2016-10-10 01:35:58 -03:00
ssl_test.rb ⚠️ "Use assert_nil if expecting nil. This will fail in MT6." 2017-01-18 18:41:32 +09:00
static_test.rb Add missing gzip footer check in ActiveSupport::Gzip.decompress 2017-02-24 17:33:36 -05:00
test_request_test.rb "Use assert_nil if expecting nil. This will fail in minitest 6." 2016-12-25 02:29:52 +09:00
test_response_test.rb applies new string literal convention in actionpack/test 2016-08-06 18:54:50 +02:00
uploaded_file_test.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
url_generation_test.rb applies remaining conventions across the project 2016-08-06 20:20:22 +02:00