Sha256: 42f4e300e9f9ca7b8aedaeccb0aaa47dd9cef1c28b446573c9a45862209e4032
Contents?: true
Size: 341 Bytes
Versions: 2
Compression:
Stored size: 341 Bytes
Contents
require 'spec_helper' shared_examples_for 'a containing element' do # clazz must be defined by the calling file let(:element) { clazz.new } it 'has children' do element.should respond_to(:contains) end it 'returns a collection of children' do element.contains.is_a?(Array).should be_true end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cuke_modeler-0.4.1 | spec/unit/containing_element_unit_specs.rb |
cuke_modeler-0.4.0 | spec/unit/containing_element_unit_specs.rb |