fix app config spec

This commit is contained in:
Jonne Haß 2011-12-24 00:04:04 +01:00
parent 5bbbad7c4f
commit d063db42aa

View file

@ -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)