Sha256: 6c96e7d4d0e41d0d3107ea1453b3191417d80715e574a8b1ebd0f8fe7f30f388
Contents?: true
Size: 763 Bytes
Versions: 9
Compression:
Stored size: 763 Bytes
Contents
require 'test_helper' class HelpersTest < ActiveSupport::IntegrationCase test 'next_wizard_path' do step = :first visit(bar_path(step)) click_link 'skip' assert_has_content?('second') end test 'wizard_path' do step = :first visit(bar_path(step)) click_link 'current' assert_has_content?(step.to_s) end test 'wizard_path with symbol arg' do step = :first visit(bar_path(step)) click_link 'last' assert_has_content?('last_step') end test 'previous_wizard_path' do step = :second visit(bar_path(step)) click_link 'previous' assert_has_content?("first") end test 'wizard_steps' do step = :last_step visit(bar_path(step)) assert_has_content?("step 3 of 3") end end
Version data entries
9 entries across 9 versions & 1 rubygems