From 31b9e68026df6d5f582496dcf684c4584e575e67 Mon Sep 17 00:00:00 2001 From: Thibault Jouan Date: Tue, 6 Aug 2013 20:07:39 +0000 Subject: [PATCH] Improve Env#initialize spec: Test that #current_recipe returns exactly the assigned recipe (argument given to the constructor). --- spec/producer/core/env_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/producer/core/env_spec.rb b/spec/producer/core/env_spec.rb index 5d30e5d..a07a4e9 100644 --- a/spec/producer/core/env_spec.rb +++ b/spec/producer/core/env_spec.rb @@ -24,7 +24,7 @@ module Producer::Core subject(:env) { Env.new(recipe) } it 'assigns the current recipe' do - expect(env.current_recipe).to eq recipe + expect(env.current_recipe).to be recipe end end end