Thomas Walpole
41f2febe64
optimization of Capybara::RackTest::Node#unnormalized_text
2014-05-20 14:51:42 -07:00
Thomas Walpole
ba37f78692
Update all tests to "expect" format and add support for RSpec 3 usage
...
Swap from :skip to :capybara_skip since :skip is now used by RSpec 3
Add rspec 3 testing to beta gemfile
2014-04-02 14:33:26 -07:00
Jonas Nicklas
0f9206fd42
Add option to text
which makes it possible to return all text, not just invisible text, closes #960
2013-02-17 14:47:32 +01:00
Jonas Nicklas
2462443f89
Use a custom spec helper instead of shared specs
2012-07-21 16:46:56 -04:00
Jo Liss
060fc3a72d
RackTest::Node#text now normalizes whitespace like Selenium
...
Previously Rack::Test's #text method might have returned
" some text ", whereas now it returns "some text", just like
Selenium.
2012-01-08 23:16:57 +01:00
Scott Cytacki
17224befe7
Fix document#text
...
It failed if the default selector was css, and failed with selenium with xpath. Calling find('.') or find('/') in selenium returns a element that causes errors. It now calls find(:xpath, '/html') which seems to work everywhere.
2011-02-18 16:29:51 -05:00