public this repo is viewable by everyone
Clone URL: git://github.com/robbyrussell/rubyurl.git
Get the specs to pass; make the specs match the actual controller 
implementation.
rmm5t (author)
2 months ago
commit  20157bf6ac66a72928a455a935a6e8e56bf6110e
tree    4cee3eb37e5b0f85dd6a5ed6e435b9349bc7beda
parent  3965c375e8e395640e8a382096821f83355e4961
...
3
4
5
 
 
 
 
 
 
 
 
 
6
7
8
9
 
10
11
12
...
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
 
18
19
20
21
0
@@ -3,10 +3,19 @@ require File.dirname(__FILE__) + '/../spec_helper'
0
 describe LinksController, "index action" do
0
   controller_name :links
0
   
0
+ it "should redirect to the home action" do
0
+ get :index
0
+ response.should redirect_to( :action => 'home' )
0
+ end
0
+end
0
+
0
+describe LinksController, "home action" do
0
+ controller_name :links
0
+
0
   before(:each) do
0
     @link = mock('link')
0
     Link.stub!(:new).and_return(@link)
0
- get :index
0
+ get :home
0
   end
0
   
0
   it "should render the index view" do

Comments

    No one has commented yet.