Commit Graph

35 Commits

Author SHA1 Message Date
Thomas Walpole 170bc99d68 Support configuring the puma server to use SSL 2018-05-08 13:12:17 -07:00
Thomas Walpole a17e9c36fa Add rubocop-spec - some disabled for now 2018-04-30 18:00:16 -07:00
Thomas Walpole 8f115d94e0 Restore mistakenly removed server= proc acceptance 2018-04-06 10:53:30 -07:00
Thomas Walpole 5de4295812 Use Puma::Server directly so signal handlers aren't overridden 2018-03-23 14:40:33 -07:00
Thomas Walpole 618dd9ff70 Rubocop driven spec style cleanup 2018-03-01 11:44:55 -08:00
Thomas Walpole 6ef251e728 Raise ArgumentError rather than warning when extra parameters passed to SelectorQuery 2018-02-01 14:03:17 -08:00
Thomas Walpole 4c4e65629c Remove deprecated test 2018-01-03 09:04:12 -08:00
Thomas Walpole 1b17d7ec3d remove duplicate test 2018-01-03 09:04:12 -08:00
Thomas Walpole 1a07da3d10 Default server to puma and improve reuse_server tests 2018-01-03 09:04:12 -08:00
Thomas Walpole cfc6604b69 remove deprecated default_wait_time 2018-01-03 09:04:12 -08:00
Thomas Walpole ba7674086c remove deprecated support for Capybara.server taking a block 2018-01-03 09:04:12 -08:00
Yong Bakos 8d0a64b594 Fix spelling: non-existant -> non-existent. 2017-12-26 23:39:26 -07:00
Thomas Walpole 2b0b0b58c5 Don't need to start server to test register server 2017-08-11 11:37:15 -07:00
Thomas Walpole 4fcc4a9822 Allow registered servers to receive options 2017-08-02 10:14:54 -07:00
Thomas Walpole 13be782a1a Update default puma server registration to try to ensure single mode 2017-05-30 18:05:14 -07:00
Thomas Walpole 0270b7a4cf Per-session config and thread specific current_driver/session_name 2017-04-27 13:37:04 -07:00
Thomas Walpole 3fc2103181 rewrite expectation to work with rspec on rbx 2017-01-09 17:12:54 -08:00
Thomas Walpole b90a93affe Update testing and travis matrix for selenium-webdriver 3.0 release 2016-10-18 00:21:51 -07:00
Thomas Walpole c5d7089e0e generally prefer ruby 1.9 hash format 2016-10-04 11:10:29 -07:00
Thomas Walpole 84d854244a raise error if app_host/default_host are incorrectly set 2016-05-06 10:15:59 -07:00
Thomas Walpole 015c2a1963 Allow registering different servers 2016-03-09 13:22:47 -08:00
Thomas Walpole 07e7777425 frozen literal magic comment 2016-03-07 16:52:19 -08:00
Thomas Walpole 5b6d65feae rename default_wait_time to default_max_wait_time - Issue #1442 2015-04-23 10:18:16 -07:00
Thomas Walpole 85e9fcd7f2 fix feature definition in case user has RSpec set not to expose dsl globally - test in rspec 3 beta tests 2014-04-03 10:25:03 -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
Markus Graf 12d03dd80b use double instead of mock to get rid of the deprecation warning 2013-09-27 13:39:05 +02:00
Jonas Nicklas 7e4d3b85f5 Use expect..to instead of the `running` alias 2012-10-30 14:26:19 +01:00
Jonas Nicklas 2462443f89 Use a custom spec helper instead of shared specs 2012-07-21 16:46:56 -04:00
Jonas Nicklas fd5996f5f7 Fixed some failing stuff 2011-04-08 16:14:05 +01:00
John Firebaugh 91e59f3572 Allow the Rack handler to be configured via Capybara.server {|app, port| ...}
For example, to use mongrel rather than thin or webrick:

    Capybara.server do |app, port|
      require 'rack/handler/mongrel'
      Rack::Handler::Mongrel.run(app, :Port => port)
    end
2010-10-27 19:53:59 -07:00
Bernerd Schaefer 409c4cdd49 Remove constant redefined warnings in suite 2010-09-17 19:10:16 -05:00
Nicklas Ramhöj 95dc635ce9 Reset default_wait_time to correct value after test
Fixes Culerity single quote test failures
2010-09-15 18:19:25 +02:00
Jonas Nicklas 7fc12fd78e Drivers are now manually registered 2010-09-07 18:18:19 +02:00
Jonas Nicklas 37aec4f581 Reduce timeout for specs so they run faster 2010-01-01 18:45:30 +01:00
Lenny Marks eb82466fe6 Capybara#default_wait_time
Capybara default_wait_time
- should default to 2 seconds
- should be changeable
2009-12-31 13:51:22 -05:00