Sha256: 3c1b9196bf58f13931bfc8148961d4e5a94530f287f619221142ae57b9a96741

Contents?: true

Size: 627 Bytes

Versions: 4

Compression:

Stored size: 627 Bytes

Contents

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

require File.expand_path(File.dirname(__FILE__) + '/../lib/scrapzirra')
require 'feedzirra'

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.treat_symbols_as_metadata_keys_with_true_values = true
  config.run_all_when_everything_filtered = true
  config.filter_run :focus
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
scrapzirra-0.0.5 spec/spec_helper.rb
scrapzirra-0.0.4 spec/spec_helper.rb
scrapzirra-0.0.3 spec/spec_helper.rb
scrapzirra-0.0.2 spec/spec_helper.rb