Sha256: d091d514dc76b42d3b04d77df21ceaef51bbf480abeee504d4dfe540802de53b

Contents?: true

Size: 367 Bytes

Versions: 2

Compression:

Stored size: 367 Bytes

Contents

require 'faye'
require 'faye/reconnect'
require 'spec_helper'

describe Faye::Reconnect::ClientExtension do

  it 'requires a name option' do
    expect {
      Faye::Reconnect::ClientExtension.new
    }.to raise_error(ArgumentError, "missing keyword: name")
    expect {
      Faye::Reconnect::ClientExtension.new(name: 'foobar')
    }.to_not raise_error
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
faye-reconnect-0.0.3 spec/client_extension_spec.rb
faye-reconnect-0.0.2 spec/client_extension_spec.rb