test/tc_watches.rb in mechanize-0.6.7 vs test/tc_watches.rb in mechanize-0.6.8
- old
+ new
@@ -7,10 +7,10 @@
class Area
attr_reader :name
def initialize(node)
- @name = node.attributes['name']
+ @name = node['name']
end
end
class WatchesMechTest < Test::Unit::TestCase
include TestMethods