forked from External/greenlight
reworking routes
This commit is contained in:
@ -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
|
||||
|
2
test/fixtures/rooms.yml
vendored
2
test/fixtures/rooms.yml
vendored
@ -6,7 +6,9 @@
|
||||
#
|
||||
|
||||
kitchen:
|
||||
user: steve
|
||||
uid: "13579"
|
||||
|
||||
garage:
|
||||
user: mark
|
||||
uid: "02468"
|
Reference in New Issue
Block a user