Created
May 1, 2014 10:49
-
-
Save deepak/aefd141e412bc6a9f8a4 to your computer and use it in GitHub Desktop.
Disable pry for tests
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
# no pry in test environment but works otherwise | |
class Binding | |
def pry; nil; end | |
def remote_pry; nil; end | |
end | |
__END__ | |
for finding a bug sometimes i will try it out in the browser | |
and set breakpoints in the code and javascript console | |
having spent that time | |
can disable in tests |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment