Sha256: 9838e8f52ac7450111521b27ff661c42f9ca1f13d21b95d69dfb93497c18fc79
Contents?: true
Size: 469 Bytes
Versions: 11
Compression:
Stored size: 469 Bytes
Contents
require 'test_helper' class NestedBuilderTest < ActiveSupport::IntegrationCase test 'can use nested ids' do visit nested_builder_path(:id => :last_step, :nested_id => "foo") assert_has_content?("last") assert_has_content?("params[:nested_id] foo") end test 'forwards nested ids' do visit nested_builder_path(:id => :last_step, :nested_id => "foo") assert_has_content?("last") click_link 'next' assert_has_content?("home") end end
Version data entries
11 entries across 11 versions & 1 rubygems