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
yuuji.yaginuma 2ee4058cc5 Do not take screenshot if driver does not support screenshot
`Capybara::RackTest::Driver` does not support taking screenshots. If call
`#save_screenshot` on `Capybara::RackTest::Driver` will raise the error.

```ruby
Error:
UsersTest#test_visiting_the_index:
Capybara::NotSupportedByDriverError: Capybara::Driver::Base#save_screenshot
```

To prevent errors, if driver does not support screenshot, do not call it.
2017-03-04 17:40:51 +09:00
..
abstract Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
assertions Improve assert_response helper 2016-09-14 11:30:09 -04:00
controller Add more missing requires 2017-02-22 14:05:37 +00:00
dispatch Do not take screenshot if driver does not support screenshot 2017-03-04 17:40:51 +09:00
fixtures Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
journey Properly escape test names 2017-02-02 19:58:17 +09:00
lib/controller class Foo < Struct.new(:x) creates an extra unneeded anonymous class 2017-01-13 15:13:47 +09:00
routing applies new string literal convention in actionpack/test 2016-08-06 18:54:50 +02:00
tmp
abstract_unit.rb Turn system testing into it's own gem and rename 2017-02-20 15:07:33 -05:00