Sha256: 0ce166a7e633c3492fd7024ba03f39fb05a048c2daf0d0753b2d12774c261fcd
Contents?: true
Size: 579 Bytes
Versions: 2
Compression:
Stored size: 579 Bytes
Contents
require 'spec_helper' SimpleCov.command_name('Outline') unless RUBY_VERSION.to_s < '1.9.0' describe 'Outline, Integration' do it 'properly sets its child elements' do source = [' Scenario Outline:', ' * a step', ' Examples:', ' | param |'] source = source.join("\n") outline = CucumberAnalytics::Outline.new(source) example = outline.examples.first step = outline.steps.first example.parent_element.should equal outline step.parent_element.should equal outline end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cucumber_analytics-1.1.1 | spec/integration/outline_integration_spec.rb |
cucumber_analytics-1.0.0 | spec/integration/outline_integration_spec.rb |