Skip to content

Instantly share code, notes, and snippets.

@Gregliest
Last active April 24, 2017 14:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Gregliest/6aedf54cf37c035188520e0d9c26f787 to your computer and use it in GitHub Desktop.
Save Gregliest/6aedf54cf37c035188520e0d9c26f787 to your computer and use it in GitHub Desktop.
A simple RSpec example
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