Sha256: c3dd0b543b6c3fcb189277e0f9a41cc0c44f9a28bcbdbe3f13d5533619196663

Contents?: true

Size: 1.24 KB

Versions: 24

Compression:

Stored size: 1.24 KB

Contents

require "application_system_test_case"

module KepplerFrontend
  class ParametersTest < ApplicationSystemTestCase
    setup do
      @parameter = keppler_frontend_parameters(:one)
    end

    test "visiting the index" do
      visit parameters_url
      assert_selector "h1", text: "Parameters"
    end

    test "creating a Parameter" do
      visit parameters_url
      click_on "New Parameter"

      fill_in "Deleted At", with: @parameter.deleted_at
      fill_in "Name", with: @parameter.name
      fill_in "Position", with: @parameter.position
      click_on "Create Parameter"

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

    test "updating a Parameter" do
      visit parameters_url
      click_on "Edit", match: :first

      fill_in "Deleted At", with: @parameter.deleted_at
      fill_in "Name", with: @parameter.name
      fill_in "Position", with: @parameter.position
      click_on "Update Parameter"

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

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

      assert_text "Parameter was successfully destroyed"
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
keppler-2.1.22 installer/core/rockets/keppler_frontend/test/system/keppler_frontend/parameters_test.rb
keppler-2.1.21 installer/core/rockets/keppler_frontend/test/system/keppler_frontend/parameters_test.rb
keppler-2.1.20 installer/core/rockets/keppler_frontend/test/system/keppler_frontend/parameters_test.rb
keppler-2.1.19 installer/core/rockets/keppler_frontend/test/system/keppler_frontend/parameters_test.rb
keppler-2.1.18 installer/core/rockets/keppler_frontend/test/system/keppler_frontend/parameters_test.rb
keppler-2.1.17 installer/core/rockets/keppler_frontend/test/system/keppler_frontend/parameters_test.rb
keppler-2.1.16 installer/core/rockets/keppler_frontend/test/system/keppler_frontend/parameters_test.rb
keppler-2.1.15 installer/core/rockets/keppler_frontend/test/system/keppler_frontend/parameters_test.rb
keppler-2.1.14 installer/core/rockets/keppler_frontend/test/system/keppler_frontend/parameters_test.rb
keppler-2.1.13 installer/core/rockets/keppler_frontend/test/system/keppler_frontend/parameters_test.rb
keppler-2.1.12 installer/core/rockets/keppler_frontend/test/system/keppler_frontend/parameters_test.rb
keppler-2.1.11 installer/core/rockets/keppler_frontend/test/system/keppler_frontend/parameters_test.rb
keppler-2.1.10 installer/core/rockets/keppler_frontend/test/system/keppler_frontend/parameters_test.rb
keppler-2.1.9 installer/core/rockets/keppler_frontend/test/system/keppler_frontend/parameters_test.rb
keppler-2.1.8 installer/core/rockets/keppler_frontend/test/system/keppler_frontend/parameters_test.rb
keppler-2.1.7 installer/core/rockets/keppler_frontend/test/system/keppler_frontend/parameters_test.rb
keppler-2.1.6 installer/core/rockets/keppler_frontend/test/system/keppler_frontend/parameters_test.rb
keppler-2.1.5 installer/core/rockets/keppler_frontend/test/system/keppler_frontend/parameters_test.rb
keppler-2.1.4 installer/core/rockets/keppler_frontend/test/system/keppler_frontend/parameters_test.rb
keppler-2.1.3 installer/core/rockets/keppler_frontend/test/system/keppler_frontend/parameters_test.rb