Sha256: bb7fd1eb878d759cae1f85bdf821191f93140e5af800069c31acdc7910b3a30f
Contents?: true
Size: 384 Bytes
Versions: 19
Compression:
Stored size: 384 Bytes
Contents
require 'spec_helper' module Finitio describe Syntax, '.compile_type' do let(:source){ <<-EOF.strip { name: .String, color: { red: .Integer, green: .Integer, blue: .Integer }, sex: .String( s | s =~ /^M|F$/ ) } EOF } subject do Syntax.compile_type(source) end it{ should be_a(Type) } end end
Version data entries
19 entries across 19 versions & 1 rubygems