Commit Graph

13 Commits

Author SHA1 Message Date
Thomas Walpole c5d7089e0e generally prefer ruby 1.9 hash format 2016-10-04 11:10:29 -07:00
Thomas Walpole 07e7777425 frozen literal magic comment 2016-03-07 16:52:19 -08:00
Thomas Walpole d087965f81 improve tests for reliability with fully async driver - selenium w/chromedriver 2015-07-22 14:45:29 -07:00
Thomas Walpole a04c1456e6 allow switch_to_window to wait for a matching window to appear 2015-07-22 14:43:07 -07:00
Thomas Walpole ba37f78692 Update all tests to "expect" format and add support for RSpec 3 usage
Swap from :skip to :capybara_skip since :skip is now used by RSpec 3
Add rspec 3 testing to beta gemfile
2014-04-02 14:33:26 -07:00
Jonas Nicklas 70458987e5 formatting 2012-12-31 11:49:41 +01:00
Jonas Nicklas 268b7caf32 Use have_content over body.should include, closes #792
The latter has timing issues in Selenium, since
visit/click_link, etc are async even on regular
page reloads.
2012-08-30 15:59:43 +02:00
Jonas Nicklas 2462443f89 Use a custom spec helper instead of shared specs 2012-07-21 16:46:56 -04:00
Jo Liss be6c1a02c4 Strip empty query string in current_url test
Some drivers (like WebKit) apparently do this. Suggested by
@jonleighton in #611.
2012-01-12 18:30:21 +01:00
Jo Liss 8c6ff16861 Rack::Test now respects ports when changing hosts 2012-01-04 19:04:14 +01:00
Jo Liss 74d01a7b2b Eliminate dependency on Heroku apps to make specs less brittle
Fold all current_host specs into common current{_url,_host,_path} specs,
since current_host simply calls current_url. Since current_host omits
the port, differentiating between different servers on localhost is
impossible without the help of current_url.

Two examples are pending now, since Rack::Test ignores ports when
changing hosts.
2012-01-04 19:04:09 +01:00
Jonas Nicklas fe5e308f41 Rearranged drivers a little bit 2010-07-10 03:11:54 +02:00
Jonas Nicklas cf1aa4d073 Moved shared specs into lib directory
This way, implementations of other drivers can
use the specs to verify that they are working
correctly.
2010-04-09 16:41:35 +02:00
Renamed from spec/dsl/current_url_spec.rb (Browse further)