Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Relax the regex for the default avatar URL in the api statuses test

  • Loading branch information...
commit e558f6b6dbd428fbd375cf3761765fffd6972e19 1 parent a58010d
@carols10cents carols10cents authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test/acceptance/api/statuses_test.rb
View
2  test/acceptance/api/statuses_test.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.