Require addressable gem in CurrentPathQuery

The following commit used Addressable to normalize path comparisons:

d6a824c00e

However, it's causing a NameError if the addressable gem is not loaded,
so we're requiring it in this specific location.
This commit is contained in:
Jorge Bejar 2016-01-27 15:53:59 -03:00 committed by Thomas Walpole
parent 7968270a06
commit 2e2290a225
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,5 @@
require 'addressable'
module Capybara
# @api private
module Queries