Sha256: 6c33d29ebd1697a7911992845c9b4932675bc067ea03c62e881e3164ebb1e774

Contents?: true

Size: 1.74 KB

Versions: 11

Compression:

Stored size: 1.74 KB

Contents

# require "application_system_test_case"

# module CensorBear
#   class StopWordsTest < ApplicationSystemTestCase
#     setup do
#       # @stop_word = censor_bear_stop_words(:one)
#       @stop_word = FactoryBot.create(:stop_word)
#     end

#     test "visiting the index" do
#       visit stop_words_url
#       assert_selector "h1", text: "Stop Words"
#     end

#     test "creating a Stop word" do
#       visit stop_words_url
#       click_on "New Stop Word"

#       fill_in "Dialog", with: @stop_word.dialog
#       fill_in "Replacement", with: @stop_word.replacement
#       fill_in "Signature", with: @stop_word.signature
#       fill_in "Ugc", with: @stop_word.ugc
#       fill_in "User", with: @stop_word.user_id
#       fill_in "Username", with: @stop_word.username
#       fill_in "Word", with: @stop_word.key
#       click_on "Create Stop word"

#       assert_text "Stop word was successfully created"
#       click_on "Back"
#     end

#     test "updating a Stop word" do
#       visit stop_words_url
#       click_on "Edit", match: :first

#       fill_in "Dialog", with: @stop_word.dialog
#       fill_in "Replacement", with: @stop_word.replacement
#       fill_in "Signature", with: @stop_word.signature
#       fill_in "Ugc", with: @stop_word.ugc
#       fill_in "User", with: @stop_word.user_id
#       fill_in "Username", with: @stop_word.username
#       fill_in "Word", with: @stop_word.key
#       click_on "Update Stop word"

#       assert_text "Stop word was successfully updated"
#       click_on "Back"
#     end

#     test "destroying a Stop word" do
#       visit stop_words_url
#       page.accept_confirm do
#         click_on "Destroy", match: :first
#       end

#       assert_text "Stop word was successfully destroyed"
#     end
#   end
# end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
censor_bear-0.1.29 test/system/censor_bear/stop_words_test.rb
censor_bear-0.1.28 test/system/censor_bear/stop_words_test.rb
censor_bear-0.1.27 test/system/censor_bear/stop_words_test.rb
censor_bear-0.1.26 test/system/censor_bear/stop_words_test.rb
censor_bear-0.1.25 test/system/censor_bear/stop_words_test.rb
censor_bear-0.1.24 test/system/censor_bear/stop_words_test.rb
censor_bear-0.1.23 test/system/censor_bear/stop_words_test.rb
censor_bear-0.1.22 test/system/censor_bear/stop_words_test.rb
censor_bear-0.1.21 test/system/censor_bear/stop_words_test.rb
censor_bear-0.1.20 test/system/censor_bear/stop_words_test.rb
censor_bear-0.1.19 test/system/censor_bear/stop_words_test.rb