Sha256: 2731ca2d8e32d53dfe9e03282c1fb05e9a4639722571f56d76bb6802051a26bb
Contents?: true
Size: 437 Bytes
Versions: 4
Compression:
Stored size: 437 Bytes
Contents
require 'spec_helper' module Gisele::Language 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
4 entries across 4 versions & 2 rubygems