Make rubocop happy

This commit is contained in:
Kamil Trzcinski 2016-08-15 23:33:36 +02:00
parent e8aab1cd15
commit cd8ba09ee8

View file

@ -55,15 +55,15 @@ describe IrkerService, models: true do
@irker_server = TCPServer.new 'localhost', 0 @irker_server = TCPServer.new 'localhost', 0
allow(irker).to receive_messages( allow(irker).to receive_messages(
active: true, active: true,
project: project, project: project,
project_id: project.id, project_id: project.id,
service_hook: true, service_hook: true,
server_host: @irker_server.addr[2], server_host: @irker_server.addr[2],
server_port: @irker_server.addr[1], server_port: @irker_server.addr[1],
default_irc_uri: 'irc://chat.freenode.net/', default_irc_uri: 'irc://chat.freenode.net/',
recipients: recipients, recipients: recipients,
colorize_messages: colorize_messages) colorize_messages: colorize_messages)
irker.valid? irker.valid?
end end