Created
July 9, 2010 03:22
-
-
Save vincentchu/468985 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if Rails.env.test? | |
RAILS_DEFAULT_LOGGER.debug "VBC patching" | |
class Mixpanel | |
def track! | |
RAILS_DEFAULT_LOGGER.debug "VBC RETURNING" | |
end | |
end | |
else | |
RAILS_DEFAULT_LOGGER.debug "VBC!!! env = #{Rails.env}" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment