Sha256: 44994709a9e413cf94eea160d07eaf9f12516e0e45e6cef3e8cd202132b5f7c0

Contents?: true

Size: 592 Bytes

Versions: 2

Compression:

Stored size: 592 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

2 entries across 2 versions & 1 rubygems

Version Path
cucumber-in-the-yard-1.5.4 lib/templates/default/feature/html/steps.erb
cucumber-in-the-yard-1.5.3 lib/templates/default/feature/html/steps.erb