Sha256: 5fd3418ee2ed55d55bfc1944f7ea9e059558260859e373c5e7828b6e579a267f
Contents?: true
Size: 469 Bytes
Versions: 3
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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
wicked-1.0.2 | test/integration/nested_builder_test.rb |
wicked-1.0.1 | test/integration/nested_builder_test.rb |
wicked-1.0.0 | test/integration/nested_builder_test.rb |