Refactor FA cookie management and enhance testing

- Updated the FA cookie management in the Scraper::FaHttpClientConfig class to validate cookie formats and handle cookies more robustly.
- Removed the fa.yml configuration file and integrated cookie retrieval directly within the class.
- Added comprehensive tests for cookie handling in the new fa_http_client_config_spec.rb file.
- Updated the Gemfile to include parallel_tests in the test and development group.
- Modified the .rspec file to enable color output for better readability in test results.
- Simplified test commands in the justfile for improved usability.
- Adjusted the rails_helper.rb to ensure the test environment is correctly set up.
This commit is contained in:
Dylan Knutson
2024-12-30 02:00:30 +00:00
parent ec26e425c6
commit 9e8f2651db
8 changed files with 157 additions and 117 deletions

View File

@@ -89,11 +89,14 @@ group :test do
gem "webdrivers"
gem "shoulda-matchers"
gem "factory_bot_rails"
gem "parallel_tests"
gem "pundit-matchers", "~> 4.0"
gem "db-query-matchers", "~> 0.14"
end
group :test, :development do
gem "parallel_tests"
end
gem "xdiff", path: "/gems/xdiff-rb"
# for legacy import