diff options
Diffstat (limited to 'actionpack/test/controller/selector_test.rb')
-rw-r--r-- | actionpack/test/controller/selector_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/selector_test.rb b/actionpack/test/controller/selector_test.rb index 6ae46594ae..ca106ba236 100644 --- a/actionpack/test/controller/selector_test.rb +++ b/actionpack/test/controller/selector_test.rb @@ -85,11 +85,11 @@ class SelectorTest < Test::Unit::TestCase assert_equal 2, @matches.size assert_equal "2", @matches[0].attributes["id"] assert_equal "3", @matches[1].attributes["id"] - # Match alement with attribute value. + # Match element with attribute value. select("*[title=foo]") assert_equal 1, @matches.size assert_equal "3", @matches[0].attributes["id"] - # Match alement with attribute and attribute value. + # Match element with attribute and attribute value. select("[bar=foo][title]") assert_equal 1, @matches.size assert_equal "2", @matches[0].attributes["id"] |