Sha256: 85dc3ea55f840354b0e04a0b71683ca689acb113883d72ac5228384eabf34f9f

Contents?: true

Size: 664 Bytes

Versions: 8

Compression:

Stored size: 664 Bytes

Contents

<h1>Sucker Punch Testing</h1>
<p>
<%= form_tag single_jobs_path do %>
  <%= submit_tag "Add 1 job to store" %>
<% end %>

<br />
<%= form_tag crashing_jobs_path do %>
  <%= submit_tag "Add 1 crashing job to store" %>
<% end %>

<br />
<%= form_tag multiple_jobs_path do %>
  <%= submit_tag "Add 1 job to store every 1 second for 5 seconds" %>
<% end %>
</p>

<h2>Store Content</h2>
<p>
<% if @store.any? %>
  <% @store.each do |item| %>
    <%= item %>
    <br />
  <% end %>
<% else %>
  (nothing)
<% end %>
</p>

<h2>Crashes</h2>
<p>
<% if @crashes.any? %>
  <% @crashes.each do |item| %>
    <%= item %>
    <br />
  <% end %>
<% else %>
  (none)
<% end %>
</p>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sucker_punch-1.5.0 rails_app_example/app/views/jobs/index.html.erb
sucker_punch-1.4.0 rails_app_example/app/views/jobs/index.html.erb
sucker_punch-1.3.2 rails_app_example/app/views/jobs/index.html.erb
sucker_punch-1.3.1 rails_app_example/app/views/jobs/index.html.erb
sucker_punch-1.3.0 rails_app_example/app/views/jobs/index.html.erb
sucker_punch-1.2.1 rails_app_example/app/views/jobs/index.html.erb
sucker_punch-1.2 rails_app_example/app/views/jobs/index.html.erb
sucker_punch-1.1 rails_app_example/app/views/jobs/index.html.erb