switch from api application to full-stack application

This commit is contained in:
Marco Zeisler
2020-04-06 20:34:45 +02:00
parent 068de731dc
commit 572e1f821c
72 changed files with 8464 additions and 352 deletions
+5
View File
@@ -0,0 +1,5 @@
require "test_helper"
class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
driven_by :selenium, using: :chrome, screen_size: [1400, 1400]
end
@@ -1,7 +0,0 @@
require 'test_helper'
class CoursesControllerTest < ActionDispatch::IntegrationTest
# test "the truth" do
# assert true
# end
end
@@ -0,0 +1,9 @@
require 'test_helper'
class LoginControllerTest < ActionDispatch::IntegrationTest
test "should get index" do
get login_index_url
assert_response :success
end
end
@@ -1,7 +0,0 @@
require 'test_helper'
class PeopleControllerTest < ActionDispatch::IntegrationTest
# test "the truth" do
# assert true
# end
end
@@ -1,7 +0,0 @@
require 'test_helper'
class ProjectsControllerTest < ActionDispatch::IntegrationTest
# test "the truth" do
# assert true
# end
end
@@ -1,7 +0,0 @@
require 'test_helper'
class ThesesControllerTest < ActionDispatch::IntegrationTest
# test "the truth" do
# assert true
# end
end
View File
View File
+1 -1
View File
@@ -4,7 +4,7 @@ require 'rails/test_help'
class ActiveSupport::TestCase
# Run tests in parallel with specified workers
parallelize(workers: :number_of_processors)
parallelize(workers: :number_of_processors, with: :threads)
# Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
fixtures :all