Displaying 1 result from an estimated 1 matches for "apply_settings".
2007 Aug 08
1
Failed to pass arguments to controller method
Good morning to everyone:
    So weird!!
    I got a method called apply_settings(arg1, arg2) in the controller to be
tested. In the controller spec, I of course called the method. 
In the controller:
    def apply_settings(arg1, arg2) #where arg1 is a hash, and arg2 is an
array of object
      #do some coding
    end
In the controller spec:
    before(:each) do
      @controlle...