make own dummy, less confusing what is gem/engine and what is app

This commit is contained in:
2023-02-08 17:18:57 +02:00
parent ad237c3afb
commit 951ced7734
84 changed files with 255 additions and 90 deletions

View File

@ -0,0 +1,5 @@
require "test_helper"
class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
driven_by :selenium, using: :chrome, screen_size: [1400, 1400]
end

View File

@ -0,0 +1,11 @@
require "test_helper"
class ApplicationCable::ConnectionTest < ActionCable::Connection::TestCase
# test "connects with cookies" do
# cookies.signed[:user_id] = 42
#
# connect
#
# assert_equal connection.user_id, "42"
# end
end

View File

0
dummy/test/fixtures/files/.keep vendored Normal file
View File

0
dummy/test/helpers/.keep Normal file
View File

View File

0
dummy/test/mailers/.keep Normal file
View File

0
dummy/test/models/.keep Normal file
View File

0
dummy/test/system/.keep Normal file
View File

13
dummy/test/test_helper.rb Normal file
View File

@ -0,0 +1,13 @@
ENV["RAILS_ENV"] ||= "test"
require_relative "../config/environment"
require "rails/test_help"
class ActiveSupport::TestCase
# Run tests in parallel with specified workers
parallelize(workers: :number_of_processors)
# Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
fixtures :all
# Add more helper methods to be used by all tests here...
end