Thibault Jouan 2acb57254f 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.
2013-08-01 00:01:20 +00:00

15 lines
309 B
Ruby

require 'spec_helper'
module Producer::Core
describe Env do
let(:recipe) { Recipe.new(proc { nil }) }
subject(:env) { Env.new(recipe) }
describe '#current_recipe' do
it 'returns the assigned current recipe' do
expect(env.current_recipe).to eq recipe
end
end
end
end