Sha256: bd6b88139c6f94bfa23d4a31cbb33f1b15b349135d4d04f4335dd785e28aec83

Contents?: true

Size: 418 Bytes

Versions: 6

Compression:

Stored size: 418 Bytes

Contents

require 'spec_helper'

describe Firehose::Rack::App do
  context "transport" do
    # Transport for Firehose::Rack::App class is tested via the spec/integrations suite.
  end

  context "configuration" do
    let(:app) { Firehose::Rack::App }

    it "should configure long polling timeout" do
      app.new{ |a| a.consumer.http_long_poll.timeout = 300 }.consumer.http_long_poll.timeout.should == 300
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
firehose-1.2.20 spec/lib/server/app_spec.rb
firehose-1.2.13 spec/lib/server/app_spec.rb
firehose-1.2.12 spec/lib/server/app_spec.rb
firehose-1.2.11 spec/lib/server/app_spec.rb
firehose-1.2.10 spec/lib/server/app_spec.rb
firehose-1.2.9 spec/lib/server/app_spec.rb