Sha256: ad1ad1d618a701bba8fd6afd6991d6de62c1520630f343893ca7b4209d944d3d

Contents?: true

Size: 1.16 KB

Versions: 7

Compression:

Stored size: 1.16 KB

Contents

require "application_system_test_case"

class FileSystemsTest < ApplicationSystemTestCase
  setup do
    @file_system = file_systems(:one)
  end

  test "visiting the index" do
    visit file_systems_url
    assert_selector "h1", text: "File Systems"
  end

  test "creating a File system" do
    visit file_systems_url
    click_on "New File System"

    fill_in "Description", with: @file_system.description
    fill_in "Machine readable identifier", with: @file_system.machine_readable_identifier
    click_on "Create File system"

    assert_text "File system was successfully created"
    click_on "Back"
  end

  test "updating a File system" do
    visit file_systems_url
    click_on "Edit", match: :first

    fill_in "Description", with: @file_system.description
    fill_in "Machine readable identifier", with: @file_system.machine_readable_identifier
    click_on "Update File system"

    assert_text "File system was successfully updated"
    click_on "Back"
  end

  test "destroying a File system" do
    visit file_systems_url
    page.accept_confirm do
      click_on "Destroy", match: :first
    end

    assert_text "File system was successfully destroyed"
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

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