Sha256: 44664afd76e2d144aedcecec358553a2544e4dcbd628076610af6b9722e65877

Contents?: true

Size: 1.18 KB

Versions: 7

Compression:

Stored size: 1.18 KB

Contents

<div style="margin: 10px;">&nbsp;</div>

<div class="title">
	<div class="name"><%= @item_title %></div>
</div>

<div style="margin: 10px;">&nbsp;</div>

<% @items.each do |item| %>

<div class="stepdef">
	<a name="<%= anchor_for item %>"></a>
	<div class="title">
		<span class="pre"><%= item.keyword %></span>
		<span class="name"><%= item.value %></span>
		<div style="float: right;"><%= h( item.location ) %></div>
	</div>

	<div class="method_details_list">
		<table class="source_code">
			<tr>
				<td>
					<pre class="lines"><%= "" %><%= h format_lines(item) %></pre>
				</td>
				<td>
					<pre class="code"><%= "" %><%= html_syntax_highlight item.source %></pre>
				</td>
			</tr>
		</table>
	</div>

	<div class="steps">
		<% if item.steps && !item.steps.empty? %>
		<% item.steps.each_with_index do |step,step_index| %>	
		<div class="step <%= (step_index + 1) % 2 == 0 ? 'even' : 'odd' %>">
			<%= link_transformed_step(step) %>
			<div class="details"><a href="<%= url_for step.scenario.feature %>"><%= h(step.location) %></a></div>
		</div>
		<% end %>
		<% else %>
		<span class="undefined">No steps were found to match this <%= @item_type %>.</span>
		<% end%>
	</div>

</div>

<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cucumber-in-the-yard-1.6.1 lib/templates/default/steptransformers/html/transformers.erb
cucumber-in-the-yard-1.6.0 lib/templates/default/steptransformers/html/transformers.erb
cucumber-in-the-yard-1.5.4 lib/templates/default/steptransformers/html/transformers.erb
cucumber-in-the-yard-1.5.3 lib/templates/default/steptransformers/html/transformers.erb
cucumber-in-the-yard-1.5.2 lib/templates/default/steptransformers/html/transformers.erb
cucumber-in-the-yard-1.5.1 lib/templates/default/steptransformers/html/transformers.erb
cucumber-in-the-yard-1.5 lib/templates/default/steptransformers/html/transformers.erb