17 lines
491 B
Ruby
17 lines
491 B
Ruby
# 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 'pod_url' do
|
|
it 'should have a trailing slash' do
|
|
APP_CONFIG[:pod_url].should == 'http://example.org/'
|
|
end
|
|
end
|
|
|
|
describe 'terse_pod_url'
|
|
it 'should be correctly parsed' do
|
|
APP_CONFIG[:terse_pod_url].should == 'example.org'
|
|
end
|
|
end
|