Improve Env#initialize spec:

Test that #current_recipe returns exactly the assigned recipe
(argument given to the constructor).
This commit is contained in:
Thibault Jouan 2013-08-06 20:07:39 +00:00
parent 863155b61d
commit 31b9e68026

View File

@ -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