fixes #145: add test function for janitor trials
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
1
app/views/janitor_trials/test.json.erb
Normal file
1
app/views/janitor_trials/test.json.erb
Normal file
@@ -0,0 +1 @@
|
||||
<%= raw @tester.test.to_json %>
|
||||
Reference in New Issue
Block a user