Sha256: f9064b16e51fbcd5d306a8bd26e47db6983c2a96bbb3bc8f16cfb9bc1b4e3ee1
Contents?: true
Size: 557 Bytes
Versions: 6
Compression:
Stored size: 557 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?(Proton::Set) end test "children" do assert Page['/'].children.is_a?(Proton::Set) end test "siblings" do assert Page['/about'].siblings.is_a?(Proton::Set) end test "children" do set = Page['/'].children.find(:hello => 'world') assert set.paths == ['/hello.html'] end end
Version data entries
6 entries across 6 versions & 1 rubygems