aboutsummaryrefslogtreecommitdiffstats
path: root/test/stubs/user.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/stubs/user.rb')
-rw-r--r--test/stubs/user.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/stubs/user.rb b/test/stubs/user.rb
index af90007af7..bce7dfc49e 100644
--- a/test/stubs/user.rb
+++ b/test/stubs/user.rb
@@ -4,4 +4,8 @@ class User
def initialize(name)
@name = name
end
+
+ def to_global_id
+ "User##{name}"
+ end
end