test/units/path_test.rb in imgix-0.2.0 vs test/units/path_test.rb in imgix-0.2.1

- old
+ new

@@ -1,13 +1,13 @@ require 'test_helper' class UrlTest < Imgix::Test def test_creating_a_path path = client.path('/images/demo.png') - assert_equal 'http://demo.imgix.net/images/demo.png?s=3c1d676d4daf28c044dd83e8548f834a', path.to_url + assert_equal 'http://demo.imgix.net/images/demo.png?&s=3c1d676d4daf28c044dd83e8548f834a', path.to_url path = client.path('images/demo.png') - assert_equal 'http://demo.imgix.net/images/demo.png?s=3c1d676d4daf28c044dd83e8548f834a', path.to_url + assert_equal 'http://demo.imgix.net/images/demo.png?&s=3c1d676d4daf28c044dd83e8548f834a', path.to_url end def test_signing_path_with_param url = 'http://demo.imgix.net/images/demo.png?w=200&s=da421114ca238d1f4a927b889f67c34e' path = client.path('/images/demo.png')