Sha256: c37b4855458df4e0e6f6335d8c2a03cc0619da77d2b589dfcb85252b045579e6

Contents?: true

Size: 492 Bytes

Versions: 5

Compression:

Stored size: 492 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?(:third)
  end

  test 'wizard_path' do
    step = :first
    visit(bar_path(step))
    click_link 'current'
    assert has_content?(step)
  end

  test 'wizard_path with symbol arg' do
    step = :first
    visit(bar_path(step))
    click_link 'last'
    assert has_content?(:last_step)
  end

end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
wicked-with-previous-support-0.2 test/integration/helpers_test.rb
wicked-with-previous-support-0.1 test/integration/helpers_test.rb
wicked-0.1.2 test/integration/helpers_test.rb
wicked-0.1.1 test/integration/helpers_test.rb
wicked-0.1.0 test/integration/helpers_test.rb