spec/csl/style/date_spec.rb in csl-1.2.1 vs spec/csl/style/date_spec.rb in csl-1.2.2
- old
+ new
@@ -7,14 +7,14 @@
describe Style::DatePart do
describe '#numeric-leading-zeros?' do
- it { should_not be_numeric_leading_zeros }
+ it { is_expected.not_to be_numeric_leading_zeros }
it 'returns true when the form is set accordingly' do
subject[:form] = 'numeric-leading-zeros'
- subject.should be_numeric_leading_zeros
+ expect(subject).to be_numeric_leading_zeros
end
end
end
end
\ No newline at end of file