diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-02-15 13:11:46 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-02-15 14:47:02 +1100 |
commit | 4c9f7f7f12a47b516137bf000c3f36120033a077 (patch) | |
tree | 7c482e526733ea0c913a6e783bcf3f719e4fbac7 /spec/helpers/link_to_helper_spec.rb | |
parent | 114d00d1c1e2a997d1921ae044ed7d51237b6434 (diff) |
Stop using main_url to generate absolute urls for the main site
Diffstat (limited to 'spec/helpers/link_to_helper_spec.rb')
-rw-r--r-- | spec/helpers/link_to_helper_spec.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/helpers/link_to_helper_spec.rb b/spec/helpers/link_to_helper_spec.rb index d2639c188..eea5935f8 100644 --- a/spec/helpers/link_to_helper_spec.rb +++ b/spec/helpers/link_to_helper_spec.rb @@ -26,18 +26,6 @@ describe LinkToHelper do end - describe "when appending something to a URL" do - it 'should append to things without query strings' do - main_url('/a', '.json').should == 'http://test.host/a.json' - end - it 'should append to things with query strings' do - main_url('/a?z=1', '.json').should == 'http://test.host/a.json?z=1' - end - it 'should fail silently with invalid URLs' do - main_url('/a?z=9%', '.json').should == 'http://test.host/a?z=9%' - end - end - describe 'when displaying a user admin link for a request' do it 'should return the text "An anonymous user (external)" in the case where there is no external username' do |