Skip to content

A platform for community discussion. Free, open, simple.

323 B
Raw Blame
# frozen_string_literal: true

module RssPollingSpecHelper
  FILE_FIXTURE_PATH = File.expand_path("fixtures/files", File.dirname(__FILE__))

  def rss_polling_file_fixture(fixture_name)
    Pathname.new(File.join(FILE_FIXTURE_PATH, fixture_name))
  end
end

RSpec.configure { |config| config.include RssPollingSpecHelper }