Displaying 2 results from an estimated 2 matches for "podff_machine".
2007 Jun 02
7
I''m really bad at controllers, help please.
Hey,
Sorry for so many questions - I''m really bad at this right now.
I''m trying to cover the following code w/ rspec
  def index
    if params[:user_id]
      @user = User.find(params[:user_id])
      @messages = @user.messages
    end
  end
So basically what I''m doing is listing all the messages for a user,
provided there is an id parameter.
describe
2007 May 31
16
Could anyone please help with rspec/nested resource behavior checking?
My problem has been listed here:
http://railsforum.com/viewtopic.php?pid=25439#p25439
Don''t think it would be required to completely re-type it here :)
Thanks!
-- 
-Daniel Fischer
http://danielfischer.com - Geek Blog
http://abigfisch.com - Portfolio
http://writersbeat.com - Writing Community