Fix test warnings when doing rake {test,spec} or script/test

This commit is contained in:
Jordon Bedwell
2015-10-29 15:18:19 -05:00
parent 8f5465dfa4
commit e5f26b5a36
3 changed files with 6 additions and 7 deletions

View File

@@ -328,7 +328,7 @@ class TestDocument < JekyllUnitTest
end
should "be output in the correct place" do
assert_equal true, File.file?(@dest_file)
assert File.file?(@dest_file)
end
end

View File

@@ -465,7 +465,7 @@ class TestSite < JekyllUnitTest
end
should "print profile table" do
@site.liquid_renderer.should_receive(:stats_table)
expect(@site.liquid_renderer).to receive(:stats_table)
@site.process
end
end