rails new -n a11yist -d sqlite3 --skip-action-mailbox --css bootstrap --js esbuild .

This commit is contained in:
David Schärer 2024-07-15 02:19:27 +02:00
commit 535a051755
91 changed files with 2469 additions and 0 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,13 @@
require "test_helper"
module ApplicationCable
class ConnectionTest < ActionCable::Connection::TestCase
# test "connects with cookies" do
# cookies.signed[:user_id] = 42
#
# connect
#
# assert_equal connection.user_id, "42"
# end
end
end

0
test/controllers/.keep Normal file
View file

View file

@ -0,0 +1,8 @@
require "test_helper"
class HomeControllerTest < ActionDispatch::IntegrationTest
test "should get show" do
get home_show_url
assert_response :success
end
end

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

0
test/helpers/.keep Normal file
View file

0
test/integration/.keep Normal file
View file

0
test/mailers/.keep Normal file
View file

0
test/models/.keep Normal file
View file

0
test/system/.keep Normal file
View file

15
test/test_helper.rb Normal file
View file

@ -0,0 +1,15 @@
ENV["RAILS_ENV"] ||= "test"
require_relative "../config/environment"
require "rails/test_help"
module ActiveSupport
class 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
end