Sha256: b47c1f6b5d2ebb55f42abb2235290c098a808d4cfb5f64180ccfb91e3634520e
Contents?: true
Size: 763 Bytes
Versions: 17
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
17 entries across 17 versions & 1 rubygems