Sha256: 9f1a51b6454f166db7b399744b9bab75c1e10b9243eb83ab225d0ea0d795efd2

Contents?: true

Size: 263 Bytes

Versions: 8

Compression:

Stored size: 263 Bytes

Contents

shared_examples "bound_notifiers" do |*hooked_methods|
  hooked_methods.flatten.each do |method|
    it "hooked up method #{method}" do
      expect(subject).to respond_to(method)
      expect(subject).to respond_to("#{method}_without_notifier")
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
emites-client-0.1.4 spec/shared_examples/bound_notifiers.rb
emites-client-0.1.3 spec/shared_examples/bound_notifiers.rb
emites-client-0.1.2 spec/shared_examples/bound_notifiers.rb
emites-client-0.1.1 spec/shared_examples/bound_notifiers.rb
emites-client-0.1.0 spec/shared_examples/bound_notifiers.rb
emites-client-0.0.4 spec/shared_examples/bound_notifiers.rb
emites-client-0.0.3 spec/shared_examples/bound_notifiers.rb
emites-client-0.0.2 spec/shared_examples/bound_notifiers.rb