Skip to content

Commit

Permalink
Relax the regex for the default avatar URL in the api statuses test
Browse files Browse the repository at this point in the history
  • Loading branch information
carols10cents committed Jan 21, 2013
1 parent a58010d commit e558f6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/acceptance/api/statuses_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
parsed_json = JSON.parse(source)
parsed_json[0]["user"]["screen_name"].must_equal(@u.username)
parsed_json[0]["user"]["profile_image_url"].must_match(
"http://www.example.com/assets/avatar.png"
/http:\/\/(www\.)?example\.com\/assets\/avatar\.png/
)
end
end
Expand Down

0 comments on commit e558f6b

Please sign in to comment.