aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/assertions/dom_assertions.rb
diff options
context:
space:
mode:
authorRick Olson <technoweenie@gmail.com>2007-03-27 14:04:06 +0000
committerRick Olson <technoweenie@gmail.com>2007-03-27 14:04:06 +0000
commit2a305949d756c054cee349c1ef3b39c6cf1496f8 (patch)
tree6de4aa3106b92e128a6b62dae9938b73a1f7ed03 /actionpack/lib/action_controller/assertions/dom_assertions.rb
parent4b78a2a245cb69e958e3d62d4c0e6fcab2eb3e76 (diff)
downloadrails-2a305949d756c054cee349c1ef3b39c6cf1496f8.tar.gz
rails-2a305949d756c054cee349c1ef3b39c6cf1496f8.tar.bz2
rails-2a305949d756c054cee349c1ef3b39c6cf1496f8.zip
documentation project patches, closes #7342, #7319, #7316, #7190 [jeremymcanally]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6470 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/assertions/dom_assertions.rb')
-rw-r--r--actionpack/lib/action_controller/assertions/dom_assertions.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/assertions/dom_assertions.rb b/actionpack/lib/action_controller/assertions/dom_assertions.rb
index d1eea59ea0..355080fe54 100644
--- a/actionpack/lib/action_controller/assertions/dom_assertions.rb
+++ b/actionpack/lib/action_controller/assertions/dom_assertions.rb
@@ -1,7 +1,7 @@
module ActionController
module Assertions
module DomAssertions
- # test 2 html strings to be equivalent, i.e. identical up to reordering of attributes
+ # Test two HTML strings for equivalency (e.g., identical up to reordering of attributes)
def assert_dom_equal(expected, actual, message="")
clean_backtrace do
expected_dom = HTML::Document.new(expected).root
@@ -11,7 +11,7 @@ module ActionController
end
end
- # negated form of +assert_dom_equivalent+
+ # The negated form of +assert_dom_equivalent+.
def assert_dom_not_equal(expected, actual, message="")
clean_backtrace do
expected_dom = HTML::Document.new(expected).root