public
Rubygem
Description: Rails generators which produce tests using shoulda instead of straight up Test::Unit. Other goodies as well.
Clone URL: git://github.com/technicalpickles/shoulda_generator.git
Fixed hardcoded reference to a model in should_be_restful test.
Wed Jul 23 08:58:26 -0700 2008
commit  009b7d95ad20d5d4dbfe417f60f83b5d8eb45496
tree    92c822cb3aeb05475389b0e13b1e0aa467be0881
parent  fb8a9a9a43c55d788f8e72f11994e5d1dbcebf1b
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@ require File.dirname(__FILE__) + '/../test_helper'
0
 class <%= controller_class_name %>ControllerTest < ActionController::TestCase
0
 
0
   def setup
0
- @<%= file_name %> = Factory(:event)
0
+ @<%= file_name %> = Factory(:<%= file_name %>)
0
   end
0
 
0
   should_be_restful do |resource|

Comments

    No one has commented yet.