Sha256: 037665d2f4b9ebaf267038ee3467db91b4e9a304f5d2183f8a053b5b9f0e5602

Contents?: true

Size: 387 Bytes

Versions: 4

Compression:

Stored size: 387 Bytes

Contents

# encoding: utf-8
require "logstash/devutils/rspec/spec_helper"
require "logstash/inputs/rss"

describe LogStash::Inputs::Rss do
  describe "stopping" do
    let(:config) { {"url" => "localhost", "interval" => 10} }
    before do
      allow(Faraday).to receive(:get)
      allow(subject).to receive(:handle_response)
    end
    it_behaves_like "an interruptible input plugin"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
logstash-input-rss-2.0.5 spec/inputs/rss_spec.rb
logstash-input-rss-2.0.3 spec/inputs/rss_spec.rb
logstash-input-rss-2.0.2 spec/inputs/rss_spec.rb
logstash-input-rss-2.0.1 spec/inputs/rss_spec.rb