Sha256: c19d43e5ef1385bdee8cef6eb16e78ef4625e139003bd18d6f1b65a67f26a0ae
Contents?: true
Size: 513 Bytes
Versions: 9
Compression:
Stored size: 513 Bytes
Contents
require File.dirname(__FILE__) + '/helper' class TestSite < Test::Unit::TestCase def setup source = File.join(File.dirname(__FILE__), *%w[source]) @s = Site.new(source, dest_dir) end def test_site_init end def test_read_layouts @s.read_layouts assert_equal ["default", "simple"].sort, @s.layouts.keys.sort end def test_read_posts @s.read_posts assert_equal 2, @s.posts.size end def test_write_posts clear_dest @s.process end end
Version data entries
9 entries across 9 versions & 2 rubygems