Fix a few coding standards issues:

* Remove extra empty lines before private keyword usages.

  specs:

  * Fix one long line;
  * use proc keyword instead of Proc.new.
This commit is contained in:
Thibault Jouan
2013-07-31 22:13:09 +00:00
parent fa2f55e516
commit 2acb57254f
5 changed files with 4 additions and 5 deletions

View File

@@ -3,7 +3,7 @@ require 'spec_helper'
module Producer::Core
describe Task do
let(:name) { :some_task }
let(:block) { Proc.new { } }
let(:block) { proc { } }
subject(:task) { Task.new(name, &block) }
describe '#name' do