1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00
Commit graph

10 commits

Author SHA1 Message Date
Thomas Walpole
952d373026 Cleanup some rubocop style warnings 2018-05-14 16:06:53 -07:00
Thomas Walpole
a17e9c36fa Add rubocop-spec - some disabled for now 2018-04-30 18:00:16 -07:00
Thomas Walpole
618dd9ff70 Rubocop driven spec style cleanup 2018-03-01 11:44:55 -08:00
Thomas Walpole
dfaf958ea7 more code cleanup 2018-01-15 14:02:20 -08:00
Thomas Walpole
c5d7089e0e generally prefer ruby 1.9 hash format 2016-10-04 11:10:29 -07:00
Thomas Walpole
75084c59fc Deprecate save_and_open_page_path in favor of save_path 2016-04-05 09:53:03 -07:00
Thomas Walpole
07e7777425 frozen literal magic comment 2016-03-07 16:52:19 -08:00
Gabriel Sobrinho
1013f834a5 Fix save_and_open_screenshot for 3rd drivers
The screenshot path will not start with `capybara/` for 3rd drivers like
poltergeist since they aren't on capybara itself.

See https://travis-ci.org/teampoltergeist/poltergeist/jobs/28737963#L534
2014-06-29 20:55:24 -03:00
Thomas Walpole
59f751f1c4 Use 'expect' format for tests 2014-04-03 18:49:55 -07:00
Greg Lazarev
dbd0d8b3ef Add ability to save and open screenshot
This adds a new method `save_and_open_screenshot` that saves the screenshot then
opens it for inspection.

Refactor duplicate logic for `save_and_open_page` and `save_and_open_screenshot`
2014-04-03 13:40:18 -07:00