mirror of
https://github.com/edcommonwealth/e2c-api.git
synced 2026-03-07 13:38:13 -08:00
add api implementation
This commit is contained in:
parent
e3dd39b5df
commit
5606f7fa69
114 changed files with 3202 additions and 0 deletions
5
test/application_system_test_case.rb
Normal file
5
test/application_system_test_case.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
require "test_helper"
|
||||
|
||||
class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
|
||||
driven_by :selenium, using: :headless_chrome, screen_size: [ 1400, 1400 ]
|
||||
end
|
||||
0
test/controllers/.keep
Normal file
0
test/controllers/.keep
Normal file
8
test/controllers/dashboard_controller_test.rb
Normal file
8
test/controllers/dashboard_controller_test.rb
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
require "test_helper"
|
||||
|
||||
class DashboardControllerTest < ActionDispatch::IntegrationTest
|
||||
test "should get index" do
|
||||
get dashboard_index_url
|
||||
assert_response :success
|
||||
end
|
||||
end
|
||||
0
test/fixtures/files/.keep
vendored
Normal file
0
test/fixtures/files/.keep
vendored
Normal file
0
test/helpers/.keep
Normal file
0
test/helpers/.keep
Normal file
0
test/integration/.keep
Normal file
0
test/integration/.keep
Normal file
0
test/mailers/.keep
Normal file
0
test/mailers/.keep
Normal file
0
test/models/.keep
Normal file
0
test/models/.keep
Normal file
0
test/system/.keep
Normal file
0
test/system/.keep
Normal file
15
test/test_helper.rb
Normal file
15
test/test_helper.rb
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue