Changeset 949
- Timestamp:
- 11/11/07 08:05:18 (1 year ago)
- Files:
-
- apps/merki/trunk/spec/models/page_spec.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
apps/merki/trunk/spec/models/page_spec.rb
r946 r949 91 91 end 92 92 93 it "should convert multiple [[page links]] to URLs when the Page exists" do 94 # pending "Needs implementation" 95 Page.stub!(:find_by_title).and_return(true) 96 @page.converted_body = "[[Some Page]] and [[Some Page]]" 97 @page.to_html.should == %q{<a href="/pages/Some+Page">Some Page</a> and <a href="/pages/Some+Page">Some Page</a>} 98 end 99 93 100 it "should convert [[page links]] to URLs when the Page exists" do 94 101 Page.stub!(:find_by_title).and_return(false)
