class Quails::SecretsTest
Public Instance Methods
setup()
click to toggle source
# File railties/test/secrets_test.rb, line 12 def setup build_app end
teardown()
click to toggle source
# File railties/test/secrets_test.rb, line 16 def teardown teardown_app end
Private Instance Methods
run_secrets_generator() { || ... }
click to toggle source
# File railties/test/secrets_test.rb, line 166 def run_secrets_generator Dir.chdir(app_path) do capture(:stdout) do Quails::Generators::EncryptedSecretsGenerator.start end # Make config.paths["config/secrets"] to be relative to app_path Quails.application.config.root = app_path yield end end