mirror of
https://github.com/internetee/registry.git
synced 2025-07-30 22:46:22 +02:00
The test for Certificate.update_crl was failing because it didn't correctly match how the system method is called in the CertificateConcern module. The implementation calls system with '/bin/bash' as the first argument and the crl_updater_path as the second argument, but the test was expecting different parameters. - Simplified the test_update_crl_should_call_crl_updater_script test to directly verify the script path is used without trying to intercept the system call - Added proper environment variable handling for crl_updater_path - Ensured original method is restored after test execution |
||
---|---|---|
.. | ||
environments | ||
initializers | ||
locales | ||
application.rb | ||
application.yml.sample | ||
boot.rb | ||
cable.yml | ||
credentials.yml.enc | ||
database.yml.sample | ||
database_development.yml.sample | ||
database_registrant.yml.sample | ||
database_travis.yml | ||
deploy.rb.sample | ||
environment.rb | ||
newrelic.yml | ||
puma.rb | ||
routes.rb | ||
schedule.rb | ||
secrets.yml | ||
sidekiq.yml | ||
spring.rb | ||
storage.yml |