test/unit/set_test.rb in hydeweb-0.1.5 vs test/unit/set_test.rb in hydeweb-0.1.6
- old
+ new
@@ -19,8 +19,8 @@
assert Page['/about'].siblings.is_a?(Hyde::Set)
end
test "children" do
set = Page['/'].children.find(:hello => 'world')
- assert set.map(&:path) == ['/hello.html']
+ assert set.paths == ['/hello.html']
end
end