Sha256: 311e67704a99350aacd0d86d619a9f197cfd31b6cbb94636382c2bf3d194a22a
Contents?: true
Size: 608 Bytes
Versions: 4
Compression:
Stored size: 608 Bytes
Contents
require 'spec_helper' module Gisele::Language describe Grammar, 'trackvar_def' do it 'parses valid tracking variable definitions' do defn = 'trackvar plateletLow {BloodTest:end}' parse(defn, :trackvar_def).should eq(defn) end it 'supports an optional initial value' do defn = 'trackvar plateletLow {BloodTest:end} initially false' parse(defn, :trackvar_def).should eq(defn) end it 'supports optional obsolete events' do defn = 'trackvar plateletLow {BloodTest:end}, {Chemotherapy:end}' parse(defn, :trackvar_def).should eq(defn) end end end
Version data entries
4 entries across 4 versions & 2 rubygems