Skip to content
Extraits de code Groupes Projets
Valider d063db42 rédigé par Jonne Haß's avatar Jonne Haß
Parcourir les fichiers

fix app config spec

parent 5bbbad7c
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -40,7 +40,7 @@ describe AppConfig do ...@@ -40,7 +40,7 @@ describe AppConfig do
context "when source config file (i.e. config/application.yml) does not exist" do context "when source config file (i.e. config/application.yml) does not exist" do
before do before do
application_yml = File.join(Rails.root, "config", "application.yml.example") application_yml = AppConfig.source_file_name
@app_yml = File.join(Rails.root, "config", "app.yml") @app_yml = File.join(Rails.root, "config", "app.yml")
@app_config_yml = File.join(Rails.root, "config", "app_config.yml") @app_config_yml = File.join(Rails.root, "config", "app_config.yml")
File.should_receive(:exists?).with(application_yml).at_least(:once).and_return(false) File.should_receive(:exists?).with(application_yml).at_least(:once).and_return(false)
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter