Changeset 940

Show
Ignore:
Timestamp:
11/10/07 21:35:03 (10 months ago)
Author:
iv..@gweezlebur.com
Message:

merki: more page specs

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • apps/merki/trunk/spec/models/page_spec.rb

    r938 r940  
    9898   
    9999  it "should be able to find Pages by URL slug" do 
    100     pending "Needs implementation
     100    pending "incomplete
    101101    page = mock("Page") 
    102102    Page.should_receive(:find_by_title).with("Sample Page").once. 
    103103      and_return(page) 
    104     # Page. 
    105      
     104    Page.find_by_slug("Sample+Page").should == page 
    106105  end 
    107106end