Sha256: c994587d88f4327ef275451bf39fb2ab7b0dc340019f38e83cdd08760d1db957

Contents?: true

Size: 454 Bytes

Versions: 29

Compression:

Stored size: 454 Bytes

Contents

require 'test_helper'

class ActionViewRenderingTest < ActionController::TestCase
  setup do
    @controller = PeopleController.new
  end

  test 'render :super twice' do
    get :index
    assert_select '#controller', 1
    assert_select '#app', 1
  end

  test 'render partial override with render :super twice' do
    get :new
    assert_select '#first_name_field', 1
    assert_select '#controller_form', 1
    assert_select '#app_form', 1
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
active_scaffold-3.7.11 test/extensions/action_view_rendering_test.rb
active_scaffold-3.7.10 test/extensions/action_view_rendering_test.rb
active_scaffold-3.7.8 test/extensions/action_view_rendering_test.rb
active_scaffold-3.7.7 test/extensions/action_view_rendering_test.rb
active_scaffold-3.7.6 test/extensions/action_view_rendering_test.rb
active_scaffold-3.7.5 test/extensions/action_view_rendering_test.rb
active_scaffold-3.7.2 test/extensions/action_view_rendering_test.rb
active_scaffold-3.7.1 test/extensions/action_view_rendering_test.rb
active_scaffold-3.7.0 test/extensions/action_view_rendering_test.rb
active_scaffold-3.6.20 test/extensions/action_view_rendering_test.rb
active_scaffold-3.6.19 test/extensions/action_view_rendering_test.rb
active_scaffold-3.6.17 test/extensions/action_view_rendering_test.rb
active_scaffold-3.6.15 test/extensions/action_view_rendering_test.rb
active_scaffold-3.6.14 test/extensions/action_view_rendering_test.rb
active_scaffold-3.6.13 test/extensions/action_view_rendering_test.rb
active_scaffold-3.6.12 test/extensions/action_view_rendering_test.rb
active_scaffold-3.6.11.1 test/extensions/action_view_rendering_test.rb
active_scaffold-3.6.11 test/extensions/action_view_rendering_test.rb
active_scaffold-3.6.10 test/extensions/action_view_rendering_test.rb
active_scaffold-3.6.9 test/extensions/action_view_rendering_test.rb