Sha256: 6eb0dce9ab6d5112c17499d04cc140537fbd6a05aa55a31e8a9d55882eee259c

Contents?: true

Size: 542 Bytes

Versions: 10

Compression:

Stored size: 542 Bytes

Contents

require 'test_helper'

class DynamicStepsTest < ActiveSupport::IntegrationCase
  test 'set dynamic steps from params using prepend' do
    steps = ['first', 'second']
    visit dynamic_steps_path(:steps => steps)
    assert_has_content?(steps.first.inspect)
    assert_has_content?(steps.inspect)
  end

  test 'set dynamic steps from params without using' do
    steps = ['first', 'second']
    visit dynamic_different_steps_path(:steps => steps)
    assert_has_content?(steps.first.inspect)
    assert_has_content?(steps.inspect)
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
wicked-2.0.0 test/integration/dynamic_steps_test.rb
wicked-1.4.0 test/integration/dynamic_steps_test.rb
wicked-1.3.4 test/integration/dynamic_steps_test.rb
wicked-1.3.3 test/integration/dynamic_steps_test.rb
wicked-1.3.2 test/integration/dynamic_steps_test.rb
wicked-1.3.1 test/integration/dynamic_steps_test.rb
wicked-1.3.0 test/integration/dynamic_steps_test.rb
wicked-1.2.1 test/integration/dynamic_steps_test.rb
wicked-1.1.1 test/integration/dynamic_steps_test.rb
wicked-1.1.0 test/integration/dynamic_steps_test.rb