From 889ddf84e48bdd672a60ff98384c990321d2fa60 Mon Sep 17 00:00:00 2001 From: Thibault Jouan Date: Tue, 6 Aug 2013 19:09:20 +0000 Subject: [PATCH] Fix Action#env spec: Test that we get the exact assigned object, instead of just testing equality. --- spec/producer/core/action_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/producer/core/action_spec.rb b/spec/producer/core/action_spec.rb index 848faf3..ffa6ac8 100644 --- a/spec/producer/core/action_spec.rb +++ b/spec/producer/core/action_spec.rb @@ -8,7 +8,7 @@ module Producer::Core describe '#env' do it 'returns the assigned env' do - expect(action.env).to eq env + expect(action.env).to be env end end