Changeset 956
- Timestamp:
- 11/11/07 21:35:20 (1 year ago)
- Files:
-
- apps/merki/trunk/config/router.rb (modified) (1 diff)
- apps/merki/trunk/spec/controllers/pages_spec.rb (modified) (1 diff)
- apps/merki/trunk/spec/views/pages/edit_html_spec.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
apps/merki/trunk/config/router.rb
r953 r956 25 25 26 26 r.match('/').to(:controller => 'pages', :action =>'index') 27 28 r.default_routes29 27 end apps/merki/trunk/spec/controllers/pages_spec.rb
r953 r956 26 26 end 27 27 28 it "should return success" do 29 @controller.status.should == 200 30 end 31 32 it "should display an error" do 33 pending "now forwards to NewPage" 34 @controller.body.should match(/Home Page not found/) 28 it "should redirect" do 29 @controller.status.should == 302 35 30 end 36 31 end apps/merki/trunk/spec/views/pages/edit_html_spec.rb
r943 r956 9 9 10 10 it "should mention Pages" do 11 @body.should match(/ Pages/)11 @body.should match(/Edit Page/) 12 12 end 13 13 end
