Skip to content

Commit 6660067

Browse files
committed
Modify tests to show that posts are missing
1 parent ef5e8a1 commit 6660067

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/source/_layouts/archive.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Test
1+
{{ page.posts.size }}

test/test_jekyll_archives.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class TestJekyllArchives < Minitest::Test
4444

4545
should "generate archive pages with a layout" do
4646
@site.process
47-
assert_equal "Test", read_file("tag/test-tag/index.html")
47+
assert_equal "2", read_file("tag/test-tag/index.html")
4848
end
4949
end
5050

@@ -81,7 +81,7 @@ class TestJekyllArchives < Minitest::Test
8181
should "use custom layout for specific type only" do
8282
assert_equal "Test too", read_file("/2014/index.html")
8383
assert_equal "Test too", read_file("/2013/index.html")
84-
assert_equal "Test", read_file("/tag/test-tag/index.html")
84+
assert_equal "2", read_file("/tag/test-tag/index.html")
8585
end
8686
end
8787

0 commit comments

Comments
 (0)