Sha256: bf6f505f0c76680ba6b6d9fa8eeef91578bda8a7cf04e2f97d6edd4491f80894
Contents?: true
Size: 354 Bytes
Versions: 1
Compression:
Stored size: 354 Bytes
Contents
require 'spec_helper' shared_examples_for 'a containing element' do |clazz| before(:each) do @element = clazz.new end it 'has children - #contains' do expect(@element.respond_to?(:contains)).to be true end it 'returns a collection of children - #contains' do expect(@element.contains).to be_a(Array) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cucumber_analytics-1.5.2 | spec/unit/containing_element_unit_specs.rb |