spec/csl/style/number_spec.rb in csl-1.0.0.pre23 vs spec/csl/style/number_spec.rb in csl-1.0.0
- old
+ new
@@ -50,9 +50,10 @@
Style::Number.new(:form => 'long-ordinal').should_not be_ordinal
end
it 'returns false if the form attribute is set to :ordinal' do
Style::Number.new(:form => 'ordinal').should be_ordinal
+ Style::Number.new(:form => :ordinal).should be_ordinal
end
end
describe '#long_ordinal?' do
it 'returns false by default' do
\ No newline at end of file