Last active
April 24, 2017 14:35
-
-
Save Gregliest/6aedf54cf37c035188520e0d9c26f787 to your computer and use it in GitHub Desktop.
A simple RSpec example
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
describe('Climber') | |
describe('hasRope') | |
context('given a Sterling Rope') | |
it('should have a rope') | |
... | |
end | |
end | |
context('given no rope') | |
it ('should not have a rope') | |
... | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment