EvoBal/test/system/operations_test.rb

48 lines
1.2 KiB
Ruby

# require "application_system_test_case"
#
# class OperationsTest < ApplicationSystemTestCase
# setup do
# @operation = operations(:one)
# end
#
# test "visiting the index" do
# visit operations_url
# assert_selector "h1", text: "Operations"
# end
#
# test "creating a Operation" do
# visit operations_url
# click_on "New Operation"
#
# fill_in "Argument", with: @operation.argument
# fill_in "Class name", with: @operation.class_name
# check "Enabled" if @operation.enabled
# click_on "Create Operation"
#
# assert_text "Operation was successfully created"
# click_on "Back"
# end
#
# test "updating a Operation" do
# visit operations_url
# click_on "Edit", match: :first
#
# fill_in "Argument", with: @operation.argument
# fill_in "Class name", with: @operation.class_name
# check "Enabled" if @operation.enabled
# click_on "Update Operation"
#
# assert_text "Operation was successfully updated"
# click_on "Back"
# end
#
# test "destroying a Operation" do
# visit operations_url
# page.accept_confirm do
# click_on "Destroy", match: :first
# end
#
# assert_text "Operation was successfully destroyed"
# end
# end