spec/bonsai/page_spec.rb in bonsai-1.1.0 vs spec/bonsai/page_spec.rb in bonsai-1.1.1

- old
+ new

@@ -23,11 +23,11 @@ it "should have a name" do @page.name.should == "History" end it "should have a permalink" do - @page.permalink.should == "/about-us/history" + @page.permalink.should == "/about-us/history/" end it "should have a ctime" do @page.should respond_to :ctime @page.ctime.should be_an_instance_of(Time) @@ -36,10 +36,10 @@ it "should have an mtime" do @page.should respond_to :mtime @page.mtime.should be_an_instance_of(Time) end it "should remove numbers over 10 from the permalink" do - Bonsai::Page.find("many-pages").permalink.should == "/many-pages" + Bonsai::Page.find("many-pages").permalink.should == "/many-pages/" end it "should have a write_path" do @page.write_path.should == "/about-us/history/index.html" end \ No newline at end of file