GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Rubygem
Description: Rails RESTful controller abstraction plugin.
Homepage: http://jamesgolick.com/resource_controller
Clone URL: git://github.com/giraffesoft/resource_controller.git
Click here to lend your support to: resource_controller and make a donation at www.pledgie.com !
update test to reflect that const being moved
giraffesoft (author)
Thu Apr 17 04:42:22 -0700 2008
commit  2e17e6efb17ef8457f97b8acfd4cf907ad7c424c
tree    e9f10e68860c4b45fe839a64eb4df38bdc693089
parent  762f1c5dbfd6c0cebcd14f448700af35814377a4
...
15
16
17
18
 
19
20
21
...
15
16
17
 
18
19
20
21
0
@@ -15,7 +15,7 @@ class HelpersTest < Test::Unit::TestCase
0
     Post.stubs(:find).with(:all).returns(@collection)
0
   end
0
   
0
- ResourceController::NAME_ACCESSORS.each do |accessor|
0
+ ResourceController::Controller::NAME_ACCESSORS.each do |accessor|
0
     context "#{accessor} accessor" do
0
       should "default to returning the singular name of the controller" do
0
         assert_equal "post", @controller.send(accessor)

Comments

    No one has commented yet.