Sha256: cb416079d616d69b2b1f79d49ec6869a0bc1e4c89965b36c82f4208c2c288cd6
Contents?: true
Size: 527 Bytes
Versions: 6
Compression:
Stored size: 527 Bytes
Contents
require "spec_helper" describe Luobo::Token do subject (:token) do Luobo::Token.new(1, "line", 4, "Echo", "same: hash", "['block', 'in', 'array']") end its :ln do should eq(1) end its :line do should eq("line") end its :indent_level do should eq(4) end its :processor_name do should eq("Echo") end its :line_args do token.line_args["same"].should eq("hash") end its :block_args do token.block_args[2].should eq("array") end end
Version data entries
6 entries across 6 versions & 1 rubygems