Skip to content

Instantly share code, notes, and snippets.

@bhardin
Created November 14, 2013 17:06
Show Gist options
  • Save bhardin/7470435 to your computer and use it in GitHub Desktop.
Save bhardin/7470435 to your computer and use it in GitHub Desktop.
Writing RSpec Tests
Tests should test valid input first and then edge cases.
```ruby
describe 'when this happens' do
it "does good" do
end
end
describe 'when this other thing happens' do
it 'does something else' do
end
end
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment