Created
August 31, 2016 03:28
-
-
Save marzzz21/7fd69d8fc71268bc4e4ccc45b79ca3f8 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
def customMethod | |
puts "This is a test!" | |
end | |
expect { customMethod }.to output("This is a test!").to_stdout } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment