diff options
Diffstat (limited to 'test/stubs')
-rw-r--r-- | test/stubs/room.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/stubs/room.rb b/test/stubs/room.rb index 388b5ae33f..246d6a98af 100644 --- a/test/stubs/room.rb +++ b/test/stubs/room.rb @@ -9,4 +9,8 @@ class Room def to_global_id "Room##{id}-#{name}" end + + def to_gid_param + to_global_id.to_param + end end |