Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Optional implicit waits #43
This resolves the optional implicit waits portion of Issue #41. Simply add the following to your test code (e.g. spec_helper.rb or some other place) to enable implicit waits for the has_ and has_no_ methods in SitePrism.
SitePrism.configure do |config| config.use_implicit_waits = true end
Note I used the name "use_implicit_waits" instead of "existence_check_should_wait" because it seemed more generic in case it is applied to other queries.