use shorter notation for creating procs, as suggested by RuboCop

This commit is contained in:
Hauke Klement
2015-02-17 08:21:00 +01:00
parent f6965aff12
commit b21a7ee8e8
15 changed files with 20 additions and 20 deletions

View File

@ -243,7 +243,7 @@ describe DockerClient, docker: true do
end
describe '#send_command' do
let(:block) { Proc.new {} }
let(:block) { proc {} }
let(:container) { described_class.create_container(execution_environment) }
let(:send_command) { docker_client.send(:send_command, command, container, &block) }
after(:each) { send_command }