1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00

Clarify, and use html as canonical method name

`html` is used in the Driver API, and in the README.
This commit is contained in:
Jo Liss 2012-11-22 17:26:08 +01:00
parent 537fd691a8
commit 6e6702858d

View file

@ -5,10 +5,11 @@
* Move the RackTest driver override with the `:respect_data_method` option * Move the RackTest driver override with the `:respect_data_method` option
enabled from capybara/rspec to capybara/rails, so that it is enabled in enabled from capybara/rspec to capybara/rails, so that it is enabled in
Rails projects that don't use RSpec. [Carlos Antonio da Silva] Rails projects that don't use RSpec. [Carlos Antonio da Silva]
* Source is now an alias for `body`. RackTest no longer returns modifications * `source` is now an alias for `html`. RackTest no longer returns modifications
to `body`. This basically codifies the behaviour which we've had for a while to `html`. This basically codifies the behaviour which we've had for a while
anyway, and should have minimal impact for end users. It is important to anyway, and should have minimal impact for end users. For driver authors, it
driver authors though. [Jonas Nicklas] means that they only have to implement `html`, and not `source`. [Jonas
Nicklas]
### Fixed ### Fixed