Displaying 1 result from an estimated 1 matches for "_test_action".
Did you mean:
test_action
2007 Feb 12
6
Specs for Ajax partials with unicode characters
...ot an app with an RJS view that updates a div in a page with
the contents of a partial. The partial contains a non-ascii
character namely a pound sign.
I set up a simple test app with this RJS view:
page.replace_html("test_div", :partial => "test_action")
and this _test_action.rhtml:
<p>?500</p>
Now this spec fails:
require File.dirname(__FILE__) + ''/../../spec_helper''
context "Given a request to render view_test/test_action" do
setup do
render ''view_test/test_action''
end...