From ac8d8a7cb822f435f499baf9972dc5e756ae62aa Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Sat, 8 Feb 2014 00:31:26 -0500 Subject: [PATCH] Fix some tests --- test/test_filters.rb | 2 +- test/test_site.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_filters.rb b/test/test_filters.rb index 4b5c8212..a1cec1c7 100644 --- a/test/test_filters.rb +++ b/test/test_filters.rb @@ -131,7 +131,7 @@ class TestFilters < Test::Unit::TestCase assert_equal 2, g["items"].size when "" assert g["items"].is_a?(Array), "The list of grouped items for '' is not an Array." - assert_equal 6, g["items"].size + assert_equal 7, g["items"].size end end end diff --git a/test/test_site.rb b/test/test_site.rb index 5e639f50..7dc78dbc 100644 --- a/test/test_site.rb +++ b/test/test_site.rb @@ -157,7 +157,7 @@ class TestSite < Test::Unit::TestCase should "sort pages alphabetically" do stub.proxy(Dir).entries { |entries| entries.reverse } @site.process - sorted_pages = %w(.htaccess about.html bar.html coffeescript.coffee contacts.html deal.with.dots.html foo.md index.html index.html properties.html sitemap.xml symlinked-file) + sorted_pages = %w(.htaccess about.html bar.html coffeescript.coffee contacts.html deal.with.dots.html exploit.md foo.md index.html index.html properties.html sitemap.xml symlinked-file) assert_equal sorted_pages, @site.pages.map(&:name) end