Skip to content

Commit

Permalink
Test handling of empty query strings
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdunae committed Nov 11, 2010
1 parent fc8dc33 commit 0a9e775
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/test_links.rb
@@ -1,12 +1,12 @@
require File.expand_path(File.dirname(__FILE__)) + '/helper'

class TestLinks < Test::Unit::TestCase
#def test_empty_query_string
# qs = ' '
# assert_nothing_raised do
# remote_setup('base.html', :link_query_string => qs)
# end
# end
def test_empty_query_string
assert_nothing_raised do
premailer = Premailer.new('<p>Test</p>', :link_query_string => ' ')
premailer.to_inline_css
end
end

def test_appending_link_query_string
qs = 'utm_source=1234&tracking=good&amp;doublescape'
Expand Down

0 comments on commit 0a9e775

Please sign in to comment.