Created
June 2, 2010 19:11
-
-
Save abyx/422831 to your computer and use it in GitHub Desktop.
before refactoring
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
class VCR: | |
function eject: | |
_rewind | |
_open_lid | |
class VCRTest: | |
function test_rewinds_when_ejecting: | |
# stuff | |
function test_opens_lid_to_eject: | |
# stuff | |
class AutomaticPresenter: | |
function change_movies: | |
# ... | |
vcr.eject | |
# ... | |
class AutomaticPresenterTest: | |
function test_ejects_tape_when_changing_movies: | |
# stuff |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment