; it's not clear
to me why that would make a difference, but I don't really understand how
the jquery-rails gem takes effect, so it's entirely possible that I'm
inadvertently completely bypassing it somehow.
Thanks,
David Carlton
carl...@bactrian.org
--
You received this message because you
On Wed, Jul 13, 2011 at 9:00 PM, David Carlton carl...@bactrian.org wrote:
Any recommendations for a better way to test this sort of thing?
(Where this sort of thing is updating body elements via unobtrusive
JavaScript.)
In case anybody else is curious, here's what I ended up
:answer, :format = 'js', :item = @one.id
assert(response.body.include? Answer 1)
end
which is certainly better than nothing, but isn't nearly as precise as I'd
like.
Any recommendations for a better way to test this sort of thing?
Thanks,
David Carlton
carl...@bactrian.org
--
You received
the buttons and
javascript I'm currently using after my signature.)
Thanks for any help; as is doubtless obvious from the above, I'm new
to Rails. (And, for that matter, to javascript.)
David Carlton
[EMAIL PROTECTED]
%= button_to(Yes, { :action = :correct_answer, :item = answer },
{ :id = yes
4 matches
Mail list logo