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 !
Made specs which fail because of #469 @ rspec pending
ianwhite (author)
Mon Sep 01 01:47:07 -0700 2008
commit  67f1d6225c63dd38047eafa19fb5c755ae29e7a8
tree    e2ee3a82545e4e9affb90713703d9b635938e11e
parent  f2492ec4b12b61f0fac67a5ab4a64219de18d18b
...
146
147
148
149
150
151
 
 
 
 
 
152
153
154
...
146
147
148
 
 
 
149
150
151
152
153
154
155
156
0
@@ -146,9 +146,11 @@ end
0
 
0
 describe ForumsController, " (checking that non actions are hidden)" do
0
   it "should only have CRUD actions as action_methods" do
0
-    @controller.class.send(:action_methods).should == Set.new([
0
-      'index', 'show', 'edit', 'new', 'update', 'create', 'destroy'
0
-    ])
0
+    pending "waiting for #469 on rspec to be accepted" do
0
+      @controller.class.send(:action_methods).should == Set.new([
0
+        'index', 'show', 'edit', 'new', 'update', 'create', 'destroy'
0
+      ])
0
+    end
0
   end
0
 end
0
 
...
38
39
40
41
 
 
 
42
43
44
...
38
39
40
 
41
42
43
44
45
46
0
@@ -38,7 +38,9 @@ describe InfosController, " (its actions)" do
0
   end
0
   
0
   it "should have only ['show', 'edit', 'update'] in action_methods" do
0
-    @controller.class.send(:action_methods).should == Set.new(['show', 'edit', 'update'])
0
+    pending "waiting for #469 on rspec" do
0
+      @controller.class.send(:action_methods).should == Set.new(['show', 'edit', 'update'])
0
+    end
0
   end
0
   
0
   it "GET /account/info should be successful" do

Comments