https://github.com/chrisvfritz/codelab-sinatra-tdd-rspec-intro
https://github.com/chrisvfritz/codelab-sinatra-tdd-rspec-intro
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/chrisvfritz/codelab-sinatra-tdd-rspec-intro
- Owner: chrisvfritz
- License: mit
- Created: 2015-12-06T20:11:51.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-06T21:12:40.000Z (over 9 years ago)
- Last Synced: 2025-01-07T08:36:12.048Z (4 months ago)
- Language: Ruby
- Size: 76.2 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RSpec Practice
This is a simple app to help students practice writing specs with RSpec. The front-end is done. It's now up to our server-side web developer to write specs for the methods they want, then fill out the logic for _at least_ the first 3 helper methods of [our `MethodsPracticeHelper` module](https://github.com/chrisvfritz/codelab-sinatra-tdd-rspec-intro/blob/master/helpers/methods_practice_helpers.rb).
## How to work on this
Using what you learned in [the lesson](http://lansingcodelab.com/lessons/sinatra-tdd-rspec-intro/1) and copying the format of the specs from [the previous project](https://github.com/chrisvfritz/codelab-sinatra-tdd-helper-methods/tree/master/spec/helpers/methods_practice_helpers), write your own specs for any methods you fill out in [`helpers/methods_practice_helpers.rb`](https://github.com/chrisvfritz/codelab-sinatra-tdd-rspec-intro/blob/master/helpers/methods_practice_helpers.rb). Test as you go with `bundle exec guard` (or `bundle exec rspec` if you're on Windows).