[rspec-devel] [ rspec-Feature Requests-6615 ] controller.should_render_rjs should support :partial => 'path/to/template'

noreply at rubyforge.org noreply at rubyforge.org
Fri Nov 10 16:32:10 EST 2006


Feature Requests item #6615, was opened at 2006-11-10 20:12
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3152&aid=6615&group_id=797

Category: rails plugin
Group: None
Status: Open
Priority: 3
Submitted By: David Chelimsky (dchelimsky)
Assigned to: David Chelimsky (dchelimsky)
>Summary: controller.should_render_rjs should support :partial => 'path/to/template'

Initial Comment:
context "Given an rjs call, a 'should_render_rjs' spec with",
  :context_type => :controller do
  controller_name :rjs_spec
  
  specify "the correct partial should pass" do
    post 'render_replace_html_with_partial'
    controller.should_render_rjs :replace_html, 'mydiv', :partial => 'rjs_spec/replacement_partial'
  end
end

ActiveSupport::JSON::CircularReferenceError in 'Given an rjs call, a 'should_render_rjs' spec with the correct partial should pass'
object references itself


----------------------------------------------------------------------

>Comment By: David Chelimsky (dchelimsky)
Date: 2006-11-10 21:32

Message:
Fixed in trunk rev 1085

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3152&aid=6615&group_id=797


More information about the rspec-devel mailing list