fix unit tests

This commit is contained in:
r888888888
2017-05-30 17:37:42 -07:00
parent 216ca06fee
commit bffa1f3dc3
8 changed files with 5 additions and 88 deletions

View File

@@ -244,9 +244,7 @@ class ArtistTest < ActiveSupport::TestCase
end
should "find nothing for bad IDs" do
assert_raise(PixivApiClient::Error) do
assert_artist_not_found("http://www.pixiv.net/member_illust.php?mode=medium&illust_id=32049358")
end
assert_artist_not_found("http://www.pixiv.net/member_illust.php?mode=medium&illust_id=32049358")
end
end