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

@@ -1,38 +0,0 @@
# # encoding: UTF-8
#
# require 'test_helper'
#
# module Sources
# class TinamiTest < ActiveSupport::TestCase
# context "The source site for tinami" do
# context "for tinami" do
# setup do
# @site = Sources::Site.new("http://www.tinami.com/view/308311")
# @site.get
# end
#
# should "get the profile" do
# assert_equal("http://www.tinami.com/creator/profile/29399", @site.profile_url)
# end
#
# should "get the artist name" do
# assert_match(/ROM/, @site.artist_name)
# end
#
# should "get the image url" do
# assert_equal("http://img.tinami.com/illust2/img/336/4e80b9773c084.png", @site.image_url)
# end
#
# should "get the tags" do
# assert(@site.tags.size > 0)
# end
#
# should "convert a page into a json representation" do
# assert_nothing_raised do
# @site.to_json
# end
# end
# end
# end
# end
# end