1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-30 19:22:21 +00:00

got tests working and showed mats table if not logged in

This commit is contained in:
2015-05-05 19:10:17 +00:00
parent c2b96c2f22
commit d68e4bc54f
3 changed files with 2 additions and 2 deletions

View File

@@ -107,6 +107,7 @@
<%= link_to "New #{@tournament.name} Mat" , "/mats/new?tournament=#{@tournament.id}", :class=>"btn btn-default" %>
<br>
<br>
<% end %>
<table class="table table-striped table-bordered">
<thead>
<tr>
@@ -128,7 +129,7 @@
<% end %>
</tbody>
</table>
<% end %>

View File

@@ -3,7 +3,6 @@ require 'test_helper'
class PoolbracketMatchupsTest < ActionDispatch::IntegrationTest
def setup
@tournament = Tournament.find(1)
@tournament.upcomingMatches
@genMatchups = @tournament.upcomingMatches
end