> - render_template: > response.should render_template('new') > i get the following fail > expected "new", got "/Users/elise/Rails/myapp/app/views/user/profiles/ > new.html.erb" > So it expects the full path. That can't be right ?
nope, it expects new and gets the full path instead. what's your render command? > - should be: doesn't give me the result i expect for two strings that > are equal. > assigns['page'].menu.should be("home alone") > gives me > expected "home alone", got "home alone" > Typical ruby thing. "should be" tests for the two strings are an identical string object (one and the same thingy in memory) use: assigns['page'].menu.should eql("home alone") --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---