Skip to content

Instantly share code, notes, and snippets.

@kiszal
kiszal / gist:2721046
Created May 17, 2012 19:14
issue #130
diff --git a/lib/minitest/mock.rb b/lib/minitest/mock.rb
index 59c531e..876be20 100644
--- a/lib/minitest/mock.rb
+++ b/lib/minitest/mock.rb
@@ -11,6 +11,7 @@ module MiniTest
class Mock
alias :__respond_to? :respond_to?
+ alias :__singleton_class :singleton_class
# In order to connect with Tropo you need to provide your username and password - if you do not
# want to store it in the code you can export it to the environment variables:
# export TROPO_USERNAME=<tropo-username>
# export TROPO_PASSWORD=<tropo-pass>
# Script you will be running contains of two steps:
# Firstly you can create a tropo application by using Tropo Provisioning API.