Skip to content

Commit

Permalink
Remove unused delegate in consume test
Browse files Browse the repository at this point in the history
  • Loading branch information
camelpunch committed Jul 1, 2016
1 parent 4af7bf2 commit cba89c9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions RMQClientTests/ConsumeTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,10 @@ import XCTest
class ConsumeTest: XCTestCase {

func testBasicConsumeSendsBasicConsumeMethod() {
let delegate = ConnectionDelegateSpy()
let dispatcher = DispatcherSpy()
let nameGenerator = StubNameGenerator()
let ch = ChannelHelper.makeChannel(1, dispatcher: dispatcher, nameGenerator: nameGenerator)

ch.activateWithDelegate(delegate)

nameGenerator.nextName = "a tag"
ch.basicConsume("foo", options: [.Exclusive]) { _ in }

Expand Down

0 comments on commit cba89c9

Please sign in to comment.