spec/unit/virtus/attribute/lazy_predicate_spec.rb in virtus-1.0.3 vs spec/unit/virtus/attribute/lazy_predicate_spec.rb in virtus-1.0.4
- old
+ new
@@ -7,14 +7,14 @@
let(:options) { Hash[:lazy => lazy] }
context 'when :lazy is set to true' do
let(:lazy) { true }
- it { should be(true) }
+ it { is_expected.to be(true) }
end
context 'when :lazy is set to false' do
let(:lazy) { false }
- it { should be(false) }
+ it { is_expected.to be(false) }
end
end