Sha256: e278545809dfb51a899ca4c1a9f314bb201246c1a75d915b6d331bbbf4abb76c

Contents?: true

Size: 666 Bytes

Versions: 2

Compression:

Stored size: 666 Bytes

Contents

$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'google_holiday_calendar'

require 'rspec'
require 'rspec/its'
require 'rspec/collection_matchers'
require 'delorean'
require 'memoist'

require 'coveralls'
Coveralls.wear!

# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}

RSpec.configure do |config|
  config.include Delorean

  config.after(:each) do
    back_to_the_present
  end

  config.before(:suite) do
    class GoogleHolidayCalendar::Calendar
      extend Memoist
      memoize :fetch
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
google_holiday_calendar-0.0.2 spec/spec_helper.rb
google_holiday_calendar-0.0.1 spec/spec_helper.rb