Find file
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (22 sloc) 401 Bytes
require "test/unit"
require "open-uri"
require "nokogiri"
autoload :YAML, 'yaml'
require_relative "../lib/crayola/scraper"
class TestScraper < Test::Unit::TestCase
def setup
@scraper = Crayola::Scraper
end
def test_build
@scraper.build
end
def test_series
@scraper.series
end
def test_to_file
@scraper.to_file
end
def test_yaml
@scraper.to_yaml
end
end