1
0
Fork 0
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:
Jared Ning 2011-09-29 15:17:32 -05:00
parent 455c0513d5
commit 1cea0f9f00

View file

@ -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