Hi, following the documentation at
http://api.rubyonrails.org/classes/ActionController/Assertions/ResponseAssertions.html#M000543
assert_template should accept :partial options

eg. assert_templace :partial => '_foo'

But, here with Rails 2.2.2, I get an error
TypeError: wrong argument type Hash (expected Regexp)

Am I the only one to have this problem ?
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to