diff options
Diffstat (limited to 'test/stubs/user.rb')
-rw-r--r-- | test/stubs/user.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/stubs/user.rb b/test/stubs/user.rb index d033e6208b..a66b4f87d5 100644 --- a/test/stubs/user.rb +++ b/test/stubs/user.rb @@ -8,4 +8,8 @@ class User def to_global_id GlobalID.new("User##{name}") end + + def to_gid_param + to_global_id.to_param + end end |