diff --git a/lib/jekyll/page.rb b/lib/jekyll/page.rb index c777044c..e6d691c2 100644 --- a/lib/jekyll/page.rb +++ b/lib/jekyll/page.rb @@ -162,7 +162,7 @@ module Jekyll # Returns the object as a debug String. def inspect - "#<#{self.class} @name=#{name.inspect}>" + "#<#{self.class} @relative_path=#{relative_path.inspect}>" end # Returns the Boolean of whether this Page is HTML or not. diff --git a/test/test_page_without_a_file.rb b/test/test_page_without_a_file.rb index 58610307..f0670696 100644 --- a/test/test_page_without_a_file.rb +++ b/test/test_page_without_a_file.rb @@ -34,7 +34,7 @@ class TestPageWithoutAFile < JekyllUnitTest end should "identify itself properly" do - assert_equal "#", @page.inspect + assert_equal '#', @page.inspect end should "not have page-content and page-data defined within it" do