Browse files

fix tests failing due to asset path changing

  • Loading branch information...
1 parent 11af4c9 commit 2685e3b9394700950e222d955881fd1f74bf0bd4 @semanticart semanticart committed Jul 11, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/shot_test.rb
View
4 test/shot_test.rb
@@ -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

0 comments on commit 2685e3b

Please sign in to comment.