Helper current_user returns nil if no user is found with the id stored in session.
Modified the beer._form and beers_controller to use @styles
added new before_action to set necessary variables in beers_controller.
Added rspec gem and installed it
removed redundant test/
rating_average now returns float instead of string.
Added user_spec tests from material. Disabled enforcing of locales.
Added test for password length and lower case only rejection
Week 4 - Tehtävä 2: Added basic tests for Beer.
Require style to be present for beer when creating.
Added FactoryGirl and couple objects to be used.
Added the actual objects inside factories.rb
Added test for favorite_beer method existing. Added favorite_beer method.
Added more objects to factory.
Added more tests for user.
Added implementation for favorite beer.
Added helper method for creating a beer with rating. Use the method in tests.
Added helper method for creating multiple beers with ratings.
user_spec looks as expected.