public
Description: resources_controller rails plugin: rc makes RESTful controllers fun
Homepage: http://plugins.ardes.com/doc/resources_controller
Clone URL: git://github.com/ianwhite/resources_controller.git
Click here to lend your support to: resources_controller and make a donation at www.pledgie.com !
Updated garlic_example to run the spec generator specs
ianwhite (author)
Sun Sep 07 04:39:23 -0700 2008
commit  1b4ba5726c552da695fb36c260305f4799fd6925
tree    692d7bbf7860a4b1bba5396529d1d732f211dd49
parent  c7816162701d0ff5f6f2c431dfab56fea08a83b5
...
29
30
31
32
 
 
 
33
34
35
36
 
 
 
 
37
38
39
...
29
30
31
 
32
33
34
35
36
37
 
38
39
40
41
42
43
44
0
@@ -29,11 +29,16 @@ garlic do
0
     prepare do
0
       plugin 'resources_controller', :clone => true
0
       plugin 'rspec'
0
-      plugin('rspec-rails') { sh "script/generate rspec -f" }
0
+      plugin 'rspec-rails' do
0
+        sh "script/generate rspec -f"
0
+      end
0
     end
0
   
0
     run do
0
-      cd("vendor/plugins/resources_controller") { sh "rake spec:rcov:verify" }
0
+      cd "vendor/plugins/resources_controller" do
0
+        sh "rake spec:rcov:verify"
0
+        sh "rake spec:generate"
0
+      end
0
     end
0
   end
0
 end

Comments