Sha256: e66728f4d78a97f4be241521ba7ef7872798bc4d53952e382e2666c80537cddd
Contents?: true
Size: 446 Bytes
Versions: 2
Compression:
Stored size: 446 Bytes
Contents
require 'spec_helper' module Gisele::Language::Syntax describe Grammar, 'task_start_or_end' do it 'parses correct event names' do parse('Task:start', :task_start_or_end).should eq('Task:start') parse('Task:end', :task_start_or_end).should eq('Task:end') end it 'raises on simple task names' do lambda{ parse('Task', :task_start_or_end) }.should raise_error(Citrus::ParseError) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gisele-0.4.0 | spec/unit/language/syntax/grammar/test_task_start_or_end.rb |
gisele-0.3.0 | spec/unit/language/syntax/grammar/test_task_start_or_end.rb |