diff --git a/test/source/_layouts/archive.html b/test/source/_layouts/archive.html
index 345e6ae..060968b 100644
--- a/test/source/_layouts/archive.html
+++ b/test/source/_layouts/archive.html
@@ -1 +1 @@
-Test
+{{ page.posts.size }}
diff --git a/test/source/_posts/2014-10-01-post-with-incorrect-cased-tag.md b/test/source/_posts/2014-10-01-post-with-incorrect-cased-tag.md
new file mode 100644
index 0000000..9882702
--- /dev/null
+++ b/test/source/_posts/2014-10-01-post-with-incorrect-cased-tag.md
@@ -0,0 +1,6 @@
+---
+title: Tagged post
+tags: ["test tag", Tagged]
+---
+
+This is a post with tags in incorect case
diff --git a/test/test_jekyll_archives.rb b/test/test_jekyll_archives.rb
index e3621a6..f40cdc3 100644
--- a/test/test_jekyll_archives.rb
+++ b/test/test_jekyll_archives.rb
@@ -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
@@ -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
@@ -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