mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-05 06:07:20 +00:00
got tests working and showed mats table if not logged in
This commit is contained in:
@@ -107,6 +107,7 @@
|
|||||||
<%= link_to "New #{@tournament.name} Mat" , "/mats/new?tournament=#{@tournament.id}", :class=>"btn btn-default" %>
|
<%= link_to "New #{@tournament.name} Mat" , "/mats/new?tournament=#{@tournament.id}", :class=>"btn btn-default" %>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
|
<% end %>
|
||||||
<table class="table table-striped table-bordered">
|
<table class="table table-striped table-bordered">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -128,7 +129,7 @@
|
|||||||
<% end %>
|
<% end %>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<% end %>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ require 'test_helper'
|
|||||||
class PoolbracketMatchupsTest < ActionDispatch::IntegrationTest
|
class PoolbracketMatchupsTest < ActionDispatch::IntegrationTest
|
||||||
def setup
|
def setup
|
||||||
@tournament = Tournament.find(1)
|
@tournament = Tournament.find(1)
|
||||||
@tournament.upcomingMatches
|
|
||||||
@genMatchups = @tournament.upcomingMatches
|
@genMatchups = @tournament.upcomingMatches
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user