Sha256: 22541a3db8a15433ddb90e3acc3ba40c0c2776ed091c02a8992cc15291d25ac0
Contents?: true
Size: 477 Bytes
Versions: 3
Compression:
Stored size: 477 Bytes
Contents
$:.push File.expand_path('../../lib', __FILE__) require 'hyde' require 'contest' # Unpack Page = Hyde::Page Project = Hyde::Project class TestCase < Test::Unit::TestCase def fixture(*a) path = File.expand_path('../fixture', __FILE__) File.join path, *a end def build(path) @project = Hyde::Project.new(path) @project.pages.each { |p| p.write } @project end def unbuild(project=@project) FileUtils.rm_rf project.path(:output) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hydeweb-0.1.2 | test/helper.rb |
hydeweb-0.1.1 | test/helper.rb |
hydeweb-0.1.0 | test/helper.rb |