require "coveralls" Coveralls.wear! do add_filter "/spec/" end require "rspec" require "pry" require "fakeweb" require "onebox" require 'mocha/api' require_relative "support/html_spec_helper" RSpec.configure do |config| config.include HTMLSpecHelper end shared_examples_for "engines" do it "should behave like an engine" do expect(described_class.private_instance_methods).to include(:data, :record, :raw) end it "should have implemented a data method" do expect { described_class.new(link).send(:data) }.not_to raise_error end end