From 902631ec4f5e1a16b8f08a2ed0ccc86ad2b72c6c Mon Sep 17 00:00:00 2001 From: Matthew Landauer Date: Fri, 15 Feb 2013 13:57:28 +1100 Subject: Stop using admin_url to generate absolute url for the admin interface --- spec/models/request_mailer_spec.rb | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'spec/models') 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 -- cgit v1.2.3