Sha256: 6932a29e27c4f352ca9a04d3b5ccb43f289ba6aaccba9ced6cc474ce6cb2f7bb

Contents?: true

Size: 840 Bytes

Versions: 6

Compression:

Stored size: 840 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>
	</table>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ugly_face-0.6 lib/ugly_face/templates/_step.erb
ugly_face-0.5 lib/ugly_face/templates/_step.erb
ugly_face-0.4 lib/ugly_face/templates/_step.erb
ugly_face-0.3 lib/ugly_face/templates/_step.erb
ugly_face-0.2 lib/ugly_face/templates/_step.erb
ugly_face-0.1 lib/ugly_face/templates/_step.erb