Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix tests failing due to asset path changing

  • Loading branch information...
commit 2685e3b9394700950e222d955881fd1f74bf0bd4 1 parent 11af4c9
Jeffrey Chupp semanticart authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/shot_test.rb
4 test/shot_test.rb
View
@@ -28,8 +28,8 @@ def test_find
assert_equal 21603, shot.id
assert_equal 'Moon', shot.title
assert_equal 'http://dribbble.com/shots/21603-Moon', shot.url
- assert_match(/http:\/\/dribbble.com\/system\/users\/1\/screenshots\/21603\/shot_1274474082.png\?\d+/, shot.image_url)
- assert_match(/http:\/\/dribbble.com\/system\/users\/1\/screenshots\/21603\/shot_1274474082_teaser.png\?\d+/, shot.image_teaser_url)
+ assert_match(/http:\/\/dribbble.com\/system\/assets\/\d+\/1\/screenshots\/21603\/shot_1274474082.png\?\d+/, shot.image_url)
+ assert_match(/http:\/\/dribbble.com\/system\/assets\/\d+\/1\/screenshots\/21603\/shot_1274474082_teaser.png\?\d+/, shot.image_teaser_url)
assert_equal 400, shot.width
assert_equal 300, shot.height
Please sign in to comment.
Something went wrong with that request. Please try again.