Improve Env#initialize spec:
Test that #current_recipe returns exactly the assigned recipe (argument given to the constructor).
This commit is contained in:
parent
863155b61d
commit
31b9e68026
@ -24,7 +24,7 @@ module Producer::Core
|
|||||||
subject(:env) { Env.new(recipe) }
|
subject(:env) { Env.new(recipe) }
|
||||||
|
|
||||||
it 'assigns the current recipe' do
|
it 'assigns the current recipe' do
|
||||||
expect(env.current_recipe).to eq recipe
|
expect(env.current_recipe).to be recipe
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user