mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Change built-in css custom selector to use new css method.
This commit is contained in:
parent
455c0513d5
commit
1cea0f9f00
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ Capybara.add_selector(:xpath) do
|
||||||
end
|
end
|
||||||
|
|
||||||
Capybara.add_selector(:css) do
|
Capybara.add_selector(:css) do
|
||||||
xpath { |css| XPath.css(css) }
|
css { |css| css }
|
||||||
end
|
end
|
||||||
|
|
||||||
Capybara.add_selector(:id) do
|
Capybara.add_selector(:id) do
|
||||||
|
|
Loading…
Reference in a new issue