spec/token_scanner_spec.rb in dentaku-0.2.10 vs spec/token_scanner_spec.rb in dentaku-0.2.11
- old
+ new
@@ -17,7 +17,11 @@
it 'should perform raw value conversion' do
token = numeric.scan('5')
token.category.should eq(:numeric)
token.value.should eq(5)
end
+
+ it 'should return a list of all configured scanners' do
+ described_class.scanners.length.should eq 10
+ end
end