Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/source/_layouts/archive.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Test
{{ page.posts.size }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Tagged post
tags: ["test tag", Tagged]
---

This is a post with tags in incorect case
6 changes: 3 additions & 3 deletions test/test_jekyll_archives.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class TestJekyllArchives < Minitest::Test

should "generate archive pages with a layout" do
@site.process
assert_equal "Test", read_file("tag/test-tag/index.html")
assert_equal "2", read_file("tag/test-tag/index.html")
end
end

Expand Down Expand Up @@ -81,7 +81,7 @@ class TestJekyllArchives < Minitest::Test
should "use custom layout for specific type only" do
assert_equal "Test too", read_file("/2014/index.html")
assert_equal "Test too", read_file("/2013/index.html")
assert_equal "Test", read_file("/tag/test-tag/index.html")
assert_equal "2", read_file("/tag/test-tag/index.html")
end
end

Expand Down Expand Up @@ -120,7 +120,7 @@ class TestJekyllArchives < Minitest::Test
end

should "populate the {{ site.archives }} tag in Liquid" do
assert_equal 12, read_file("length.html").to_i
assert_equal 14, read_file("length.html").to_i
end
end

Expand Down