reworking routes

This commit is contained in:
Josh
2018-05-15 11:43:59 -04:00
parent 1ddc3172eb
commit 6cdcd89387
10 changed files with 113 additions and 73 deletions

View File

@ -8,9 +8,6 @@ class RoomsControllerTest < ActionDispatch::IntegrationTest
@kitchen = rooms(:kitchen)
@garage = rooms(:garage)
@steve.room = @kitchen
@mark.room = @garage
end
test 'should redirect to root if not logged in.' do

View File

@ -6,7 +6,9 @@
#
kitchen:
user: steve
uid: "13579"
garage:
user: mark
uid: "02468"