Displaying 2 results from an estimated 2 matches for "view_test".
2007 Feb 12
6
Specs for Ajax partials with unicode characters
...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
specify "the response should have a p with ?500" do
response.should_have_tag ''p'', :content => ''?500''
end
specify...
2005 Nov 16
19
Concerns over Rails' handling of tests
Sorry if this comes across as a bunch of disjointed thoughts...I''m just
trying to put my thoughts down and I''d like to know what other people''s
opinions on the subject are.
I''ve been working with Rails for 3 or 4 months now and I''m constantly trying
to look at ways of improving my testing techniques, especially when it comes
to TDD. I have a few