Sha256: 419e35add83e63ed78335987c64268c3f0d72023825076ca277a4fdbb3d52c47

Contents?: true

Size: 902 Bytes

Versions: 7

Compression:

Stored size: 902 Bytes

Contents

require "application_system_test_case"

class UnzipsTest < ApplicationSystemTestCase
  setup do
    @unzip = unzips(:one)
  end

  test "visiting the index" do
    visit unzips_url
    assert_selector "h1", text: "Unzips"
  end

  test "creating a Unzip" do
    visit unzips_url
    click_on "New Unzip"

    fill_in "Zip file path", with: @unzip.zip_file_path
    click_on "Create Unzip"

    assert_text "Unzip was successfully created"
    click_on "Back"
  end

  test "updating a Unzip" do
    visit unzips_url
    click_on "Edit", match: :first

    fill_in "Zip file path", with: @unzip.zip_file_path
    click_on "Update Unzip"

    assert_text "Unzip was successfully updated"
    click_on "Back"
  end

  test "destroying a Unzip" do
    visit unzips_url
    page.accept_confirm do
      click_on "Destroy", match: :first
    end

    assert_text "Unzip was successfully destroyed"
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
jester-data-8.0.0 test/system/unzips_test.rb
ezii-os-5.2.1 test/system/unzips_test.rb
ezii-os-2.0.1 test/system/unzips_test.rb
ezii-os-1.1.0 test/system/unzips_test.rb
ezii-os-1.0.0 test/system/unzips_test.rb
ezii-os-0.0.0.1.0 test/system/unzips_test.rb
ezii-os-0.0.0.0.1 test/system/unzips_test.rb