Sha256: 77ea20a73cc6694facc908e2de660e58294937518b60ed6e2972c707630b79d5

Contents?: true

Size: 591 Bytes

Versions: 3

Compression:

Stored size: 591 Bytes

Contents

<% @scenario.steps.each_with_index do |step,index| %>
	<% @step = step %>


	<div <%= "id='#{@id}Step#{index}'" %> class="step <%= (index + 1) % 2 == 0 ? 'even' : 'odd' %>">
		<span class="predicate"><%= step.keyword %></span>

		<% if step.definition %>
		<span class="defined">
			<%= highlight_matches(step) %>
			<div class="details">
				<a href="<%= url_for step.definition %>">?</a>
			</div>
		</span>
		<% else %>
		<span class="undefined"><%= h step.value %></span>
		<% end %>

	</div>

	<%= erb(:table) if step.has_table? %>
	<%= erb(:pystring) if step.has_text? %>


	<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cucumber-in-the-yard-1.5.2 lib/templates/default/feature/html/steps.erb
cucumber-in-the-yard-1.5.1 lib/templates/default/feature/html/steps.erb
cucumber-in-the-yard-1.5 lib/templates/default/feature/html/steps.erb