diff --git a/spec/config/config_spec.rb b/spec/config/config_spec.rb new file mode 100644 index 000000000..1f65a2bca --- /dev/null +++ b/spec/config/config_spec.rb @@ -0,0 +1,19 @@ +# Copyright (c) 2010, Diaspora Inc. This file is +# licensed under the Affero General Public License version 3 or later. See +# the COPYRIGHT file. + +describe 'making sure the config is parsed as should' do + + describe 'app config' do + + it 'pod_url has a trailing slash' do + APP_CONFIG[:pod_url].should == 'http://example.org/' + end + + it 'terse_pod_url is correctly parsed' do + APP_CONFIG[:terse_pod_url].should == 'example.org' + end + + end + +end