Sha256: 1f6ac8bb25bea51eb0f0261d3e0dc921be7a5644bc310b6d867a196f87f82d19

Contents?: true

Size: 582 Bytes

Versions: 1

Compression:

Stored size: 582 Bytes

Contents

begin
  require 'simplecov'
  SimpleCov.start do
    add_filter "/spec/"
  end
rescue LoadError
end

require 'rspec/its'
require File.expand_path(File.dirname(__FILE__) + '/../lib/scrapzirra')
require 'feedjira'

def load_sample(filename)
  File.read("#{File.dirname(__FILE__)}/sample_feeds/#{filename}")
end

def sample_atom_feed
  load_sample("AmazonWebServicesBlog.xml")
end

def sample_atom_entry_content
  load_sample("AmazonWebServicesBlogFirstEntryContent.xml")
end

RSpec.configure do |config|
  config.run_all_when_everything_filtered = true
  config.filter_run :focus
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
scrapzirra-0.0.6 spec/spec_helper.rb