Fix app_config spec
This commit is contained in:
parent
6519ffcd33
commit
7ee3fcd811
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ describe AppConfig do
|
||||||
end
|
end
|
||||||
after do
|
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
|
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
|
end
|
||||||
context "and there are no old-style config files around" do
|
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
|
it "prints an error message with instructions for setting up application.yml and exits" do
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue