Skip to content

Commit

Permalink
Fix test case: actually use a test parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
miguno committed Dec 3, 2014
1 parent b1d9de8 commit 20a6559
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class KafkaProducerAppSpec extends FunSpec with Matchers with GivenWhenThen with
c
}
And("with the constructor parameter that sets the broker list to " + AnyBrokerList)
val producerApp = new KafkaProducerApp(AnyBrokerList, defaultTopic = Option(AnyTopic))
val producerApp = new KafkaProducerApp(AnyBrokerList, config, defaultTopic = Option(AnyTopic))

Then("the Kafka producer's actual broker list should be " + AnyBrokerList)
producerApp.config.props.getString("metadata.broker.list") should be(AnyBrokerList)
Expand Down

0 comments on commit 20a6559

Please sign in to comment.