mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
timecop is a gem not a plugin
This commit is contained in:
parent
020ccf0cfe
commit
1034c6407d
1 changed files with 2 additions and 2 deletions
|
@ -789,8 +789,8 @@ additional info about how the underlying driver can be configured.
|
||||||
that depend on the current Date work as expected. This can be problematic,
|
that depend on the current Date work as expected. This can be problematic,
|
||||||
since Capybara's Ajax timing uses the system time, resulting in Capybara
|
since Capybara's Ajax timing uses the system time, resulting in Capybara
|
||||||
never timing out and just hanging when a failure occurs. It's still possible to
|
never timing out and just hanging when a failure occurs. It's still possible to
|
||||||
use plugins which allow you to travel in time, rather than freeze time.
|
use gems which allow you to travel in time, rather than freeze time.
|
||||||
One such plugin is [Timecop](http://github.com/jtrupiano/timecop).
|
One such gem is [Timecop](http://github.com/jtrupiano/timecop).
|
||||||
|
|
||||||
* When using Rack::Test, beware if attempting to visit absolute URLs. For
|
* When using Rack::Test, beware if attempting to visit absolute URLs. For
|
||||||
example, a session might not be shared between visits to `posts_path`
|
example, a session might not be shared between visits to `posts_path`
|
||||||
|
|
Loading…
Add table
Reference in a new issue