Sha256: 966a76fe2a123fec03dcc898a04d2e4300c41ddc845a2c8a6085b3fd1a9209be
Contents?: true
Size: 551 Bytes
Versions: 11
Compression:
Stored size: 551 Bytes
Contents
require File.expand_path('../../helper', __FILE__) class SetTest < TestCase setup do @path = fixture('one') @project = Project.new(@path) Dir.chdir @path end test "breadcrumbs" do assert Page['/about/index.css'].breadcrumbs.is_a?(Hyde::Set) end test "children" do assert Page['/'].children.is_a?(Hyde::Set) end test "siblings" do assert Page['/about'].siblings.is_a?(Hyde::Set) end test "children" do set = Page['/'].children.find(:hello => 'world') assert set.paths == ['/hello.html'] end end
Version data entries
11 entries across 11 versions & 1 rubygems