public
Rubygem
Fork of ryanb/nifty-generators
Description: A collection of useful Rails generator scripts by Ryan Bates.
Clone URL: git://github.com/ooodigi/nifty-generators.git
removing extra parenthesis for controller update spec in scaffold 
generator
ryanb (author)
Fri May 09 11:12:44 -0700 2008
commit  eabecf90350ae55fea2503ea52d55e19c654bd4e
tree    06c280f51a3f9821199889034b34df3fab4063a1
parent  4aea49d36951ce36f5adea40857fe7bb9c512e34
...
7
8
9
10
 
11
...
7
8
9
 
10
11
0
@@ -7,5 +7,5 @@
0
   it "update action should redirect to show action when model is valid" do
0
     <%= class_name %>.any_instance.stubs(:valid?).returns(true)
0
     put :update, :id => <%= class_name %>.first
0
- response.should redirect_to(<%= item_path_for_spec %>))
0
+ response.should redirect_to(<%= item_path_for_spec %>)
0
   end

Comments

    No one has commented yet.