Sha256: 7ae739c39d9e701b3d0ddeb0a44c68a3ded37cc84ac9f3ea37a208cec14ff21e

Contents?: true

Size: 608 Bytes

Versions: 9

Compression:

Stored size: 608 Bytes

Contents

require 'test_helper'

class UpdatesTest < ActiveSupport::IntegrationCase
  test 'on first' do
    step = :first
    visit(update_path(step))

    click_button("Next")
    assert_equal page.current_path, update_path(:second)
    assert_has_content?("notice:Thing was updated from step first.")

    click_button("Next")
    assert_equal page.current_path, update_path(:last_step)
    assert_has_content?("notice:Thing was updated from step second.")

    click_button("Next")
    assert_equal page.current_path, updates_path
    assert_has_content?("notice:Thing was updated from step last_step.")
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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