spec/unit/veritas/tuple/class_methods/coerce_spec.rb in veritas-0.0.6 vs spec/unit/veritas/tuple/class_methods/coerce_spec.rb in veritas-0.0.7
- old
+ new
@@ -18,10 +18,10 @@
context 'when the argument responds to #to_ary' do
let(:argument) { [ 1 ] }
it { should be_instance_of(object) }
- it { should == tuple }
+ it { should eql(tuple) }
end
context 'when the argument is not a Tuple and does not respond to #to_ary' do
let(:argument) { { :id => 1 } }