Sha256: 75a608dd42adf4afa90c01e62109f679d024e16c90d32718decd6ad3b23828be

Contents?: true

Size: 269 Bytes

Versions: 4

Compression:

Stored size: 269 Bytes

Contents

require 'spec_helper'

describe 'async option' do
  let(:listener)  { double('listener') }
  let(:publisher) { publisher_class.new }

  it 'it raises a deprecation exception' do
      expect { publisher.add_listener(listener, :async => true) }.to raise_error
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wisper-1.3.0 spec/lib/async_spec.rb
wisper-1.2.1 spec/lib/async_spec.rb
wisper-1.2.0 spec/lib/async_spec.rb
wisper-1.1.0 spec/lib/async_spec.rb