railsgirlsatl / Gem-and-the-Rubygrams

Project at Rails Girls ATL
MIT License
0 stars 9 forks source link

Rspec Added for Testing #27

Open sherrimitchell opened 8 years ago

sherrimitchell commented 8 years ago

I added Rspec to the project to use for testing. I created tests for the User model and Users Controller. The gemfile and gemfile.lock have both been updated to include the Rspec additions. A spec folder with Controllers and Models folders which include the spec files for both and a rails_helper spec_helper file are included.

The tests are a starting point, and we can add more and refactor as needed.

KyFaSt commented 8 years ago

I think this is a really good start! check my note on the last commit about test syntax but otherwise I think these are ready for you to write some tests :+1:

I would just keep working on this PR and we'll merge it once we have some working tests.