Sha256: 123cf2f3a8e2ac437ba60668998ae28290e7bb44a3f0bf87b349b03a97ff796a

Contents?: true

Size: 959 Bytes

Versions: 2

Compression:

Stored size: 959 Bytes

Contents

<%= "#{step.keyword} #{step.name}" %>
<% if step.has_table? %>
	<br />
	<table border="1" class="param_table">
		<% step.table.each do |row| %>
			<tr>
				<% row.each_with_index do |column, index| %>
				<% if index == 0 %>
					<th><%= column %></th>
				<% else %>	
					<td><%= column %></td>
				<% end %>		
				<% end %>
			</tr>
		<% end %>
	</table>
<% end %>
<% if step.has_multiline_arg? %>
	<br />
	<table border="1" class="multiline_arg">
		<tr>
		 <td><pre><%= step.multiline_arg %></pre></td>
		</tr>
	</table>
<% end %>
<% if step.failed_with_error? %>
		<table>
			<tr class="error">
				<td class="message">
					<strong><pre><%= "#{step.error.message} (#{step.error.class})" %></pre></strong>
				</td>
			</tr>
			<tr>
				<td>
					<%= raw(step.extra_failure_content(step.error.backtrace)) %>
				</td>
			</tr>
			<tr >
				<td class="detail">
					<pre><%= step.error.backtrace.join("\n") %></pre>
				</td>
			</tr>
		</table>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ugly_face-0.8 lib/ugly_face/templates/_step.erb
ugly_face-0.7 lib/ugly_face/templates/_step.erb