diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2015-07-12 13:36:42 -0500 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2015-07-12 13:36:42 -0500 |
commit | c7dc339b1dbdb1982d82536d87b6e654e7b7108d (patch) | |
tree | afbde62e20289e660dd68be00d53316df7244b6c /test/stubs/user.rb | |
parent | 13fb9b8c7b16e07e9b484868726ac7145956ced2 (diff) | |
download | rails-c7dc339b1dbdb1982d82536d87b6e654e7b7108d.tar.gz rails-c7dc339b1dbdb1982d82536d87b6e654e7b7108d.tar.bz2 rails-c7dc339b1dbdb1982d82536d87b6e654e7b7108d.zip |
Connection identifier tests
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 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 |