diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-02-15 13:57:28 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-02-15 14:47:02 +1100 |
commit | 902631ec4f5e1a16b8f08a2ed0ccc86ad2b72c6c (patch) | |
tree | 87462de4229fa19519260ca76212affbd884e82a /spec/models | |
parent | 4c9f7f7f12a47b516137bf000c3f36120033a077 (diff) |
Stop using admin_url to generate absolute url for the admin interface
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/request_mailer_spec.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/models/request_mailer_spec.rb b/spec/models/request_mailer_spec.rb index 5edc8edb6..ac30c4844 100644 --- a/spec/models/request_mailer_spec.rb +++ b/spec/models/request_mailer_spec.rb @@ -344,16 +344,4 @@ describe RequestMailer, 'requires_admin' do mail.body.should include('http://test.host/en/admin/request/show/123') end - - context 'has an ADMIN_BASE_URL set' do - before(:each) do - Configuration::should_receive(:admin_base_url).and_return('http://our.proxy.server/admin/alaveteli/') - end - - it 'body should contain the full admin URL' do - mail = RequestMailer.deliver_requires_admin(@info_request) - - mail.body.should include('http://our.proxy.server/admin/alaveteli/request/show/123') - end - end end |