Sha256: 0e950f09b62c8489fabc1fceb29f0d3dbf65563c2ea8a5fa85ac73fa30d5aa78
Contents?: true
Size: 499 Bytes
Versions: 13
Compression:
Stored size: 499 Bytes
Contents
# frozen_string_literal: true describe DownloadTV::LinkGrabber do # TODO: Write specs for the individual grabbers (see #4) # grabbers = DownloadTV::Torrent.grabbers # instances = grabbers.map { |g| (DownloadTV.const_get g).new } # instances.each do |grabber| # describe grabber do # end # end it "raises an error if the instance doesn't implement get_links" do expect { DownloadTV::LinkGrabber.new(double).get_links(double) }.to raise_error(NotImplementedError) end end
Version data entries
13 entries across 13 versions & 1 rubygems