From 7ee3fcd811443c8225ea01d8bbc399a79b909bc9 Mon Sep 17 00:00:00 2001 From: Raphael Sofaer Date: Wed, 29 Jun 2011 12:44:01 -0700 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 37d32b6b5..a480c589e 100644 --- a/spec/models/app_config_spec.rb +++ b/spec/models/app_config_spec.rb @@ -47,7 +47,7 @@ describe AppConfig do end after do File.instance_eval { alias :exists? :obfuscated_by_rspec_mocks__exists? } # unmock exists? so that the AppConfig.reload! in the top-level after block can run - AppConfig.source(AppConfig.source_file) + AppConfig.source(AppConfig.source_file_name) end context "and there are no old-style config files around" do it "prints an error message with instructions for setting up application.yml and exits" do