diff --git a/spec/rails_root/spec/render_spec.rb b/spec/rails_root/spec/render_spec.rb index 7840265..5d85776 100644 --- a/spec/rails_root/spec/render_spec.rb +++ b/spec/rails_root/spec/render_spec.rb @@ -172,12 +172,6 @@ def render_reserved_variable render :template => "test/implicit_assigns.html.rb" end - def render_rjs_with_widget - render :update do |page| - page.insert_html :top, 'foobar', render(:widget => TestFormWidget) - end - end - def render_with_needs @foo = "foo" @bar = "bar" @@ -333,10 +327,6 @@ def test_action(action) proc { test_action(:render_reserved_variable) }.should raise_error(ActionView::TemplateError, /indentation is a reserved variable name/) end - it "should render updates while overriding RJS output_buffer changes" do - test_action(:render_rjs_with_widget).should include("Element.insert") - end - it "should allow rendering widget with needs" do proc { test_action(:render_with_needs) }.should_not raise_error end