From d063db42aa1566769bdc0c0a51590fae91cb18e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonne=20Ha=C3=9F?= Date: Sat, 24 Dec 2011 00:04:04 +0100 Subject: [PATCH] fix app config spec --- spec/models/app_config_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/app_config_spec.rb b/spec/models/app_config_spec.rb index 8ae77d9c8..044f5d84e 100644 --- a/spec/models/app_config_spec.rb +++ b/spec/models/app_config_spec.rb @@ -40,7 +40,7 @@ describe AppConfig do context "when source config file (i.e. config/application.yml) does not exist" 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_config_yml = File.join(Rails.root, "config", "app_config.yml") File.should_receive(:exists?).with(application_yml).at_least(:once).and_return(false)