Another test passing. 😄

This commit is contained in:
Parker Moore 2014-09-07 12:50:17 -07:00
parent 461e16f8bc
commit 3b634134a0
1 changed files with 5 additions and 1 deletions

View File

@ -4,7 +4,11 @@ require 'ostruct'
class TestConvertible < Test::Unit::TestCase class TestConvertible < Test::Unit::TestCase
context "yaml front-matter" do context "yaml front-matter" do
setup do setup do
@convertible = OpenStruct.new @convertible = OpenStruct.new(
"site" => Site.new(Jekyll.configuration(
"source" => File.expand_path('../fixtures', __FILE__)
))
)
@convertible.extend Jekyll::Convertible @convertible.extend Jekyll::Convertible
@base = File.expand_path('../fixtures', __FILE__) @base = File.expand_path('../fixtures', __FILE__)
end end