spec/unit/virtus/attribute/class_methods/coerce_spec.rb in virtus-1.0.3 vs spec/unit/virtus/attribute/class_methods/coerce_spec.rb in virtus-1.0.4
- old
+ new
@@ -17,16 +17,16 @@
context 'when it is set to true' do
before do
described_class.coerce(true)
end
- it { should be(true) }
+ it { is_expected.to be(true) }
end
context 'when it is set to false' do
before do
described_class.coerce(false)
end
- it { should be(false) }
+ it { is_expected.to be(false) }
end
end