fixes #145: add test function for janitor trials

This commit is contained in:
albert
2011-10-21 17:56:02 -04:00
parent 0eb665af0d
commit 3b1d01370a
6 changed files with 59 additions and 0 deletions

View File

@@ -5,7 +5,10 @@
<%= simple_form_for(@janitor_trial) do |f| %>
<%= f.input :user_name %>
<%= f.button :submit, "Submit" %>
<%= f.button :submit, "Test" %>
<% end %>
<p id="test-results"></p>
</div>
</div>

View File

@@ -0,0 +1 @@
<%= raw @tester.test.to_json %>