Modify tests a bit
This commit is contained in:
parent
a13a4ca532
commit
ce1f01c494
|
@ -179,11 +179,10 @@ class TestDocument < Test::Unit::TestCase
|
||||||
|
|
||||||
should "know its permalink" do
|
should "know its permalink" do
|
||||||
assert_equal "/slide/3/", @document.permalink
|
assert_equal "/slide/3/", @document.permalink
|
||||||
assert_equal "/slide/3/index.html", @document.url
|
|
||||||
end
|
end
|
||||||
|
|
||||||
should "be written to its permalink" do
|
should "produce the right URL" do
|
||||||
assert File.exist?(@dest_file), "Can't find the rendered file in the dest_dir."
|
assert_equal "/slide/3/", @document.url
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue