summaryrefslogtreecommitdiff
path: root/test/mock.rb
diff options
context:
space:
mode:
authorMatthias Hecker <mail@apoc.cc>2020-04-13 20:39:48 +0200
committerMatthias Hecker <mail@apoc.cc>2020-04-13 20:39:48 +0200
commitf287bf1e73829434d92b46c333c3185373198518 (patch)
tree46e4df04f4e6f7442654794e2720679dd0e0cded /test/mock.rb
parentd19058b6c071d754a6cc8143acd7e2c50ae12d93 (diff)
message: add #thanks method, similar to okay
Diffstat (limited to 'test/mock.rb')
-rw-r--r--test/mock.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/mock.rb b/test/mock.rb
index ba6326db..30c4ffab 100644
--- a/test/mock.rb
+++ b/test/mock.rb
@@ -77,6 +77,10 @@ class MockMessage
reply 'okay'
end
+ def thanks
+ reply 'thanks :)'
+ end
+
def public?
true
end