Sha256: 654017d1bd2bfc6e1c87b9382f207f39108ba93c17f58e888ea2358590eb370d
Contents?: true
Size: 264 Bytes
Versions: 21
Compression:
Stored size: 264 Bytes
Contents
require 'dentaku/token' describe Dentaku::Token do it 'has a category and a value' do token = Dentaku::Token.new(:numeric, 5) expect(token.category).to eq(:numeric) expect(token.value).to eq(5) expect(token.is?(:numeric)).to be_truthy end end
Version data entries
21 entries across 21 versions & 1 rubygems