Sha256: b54a16240606c1f6e90eb812714fa001ff4d971a3d951b61284c6c043834fe71

Contents?: true

Size: 1.21 KB

Versions: 2

Compression:

Stored size: 1.21 KB

Contents

<% @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>
    <%= T('docstring').run(options.dup.merge({:object => item})) %>
  </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' %>">
			<span class="predicate">
			  <%= step.keyword %>
			</span>
			<span class="defined">
			<%= link_transformed_step(step) %>
			</span>
			<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

2 entries across 2 versions & 1 rubygems

Version Path
cucumber-in-the-yard-1.7.0 lib/templates/default/steptransformers/html/transformers.erb
cucumber-in-the-yard-1.6.4 lib/templates/default/steptransformers/html/transformers.erb