Pass create games tests
- Refactor games_controller_spec by putting valid and invalid params in let blocks.
- Pass current_player.id into the Game model when creating a new game.
Add better_errors gem. This provides a much more detailed errors page in the browser during development.
Add 'Create Game' form to Dashboard view.
Add Capybara Screenshot gem to help debug capybara errors.
Pass Create a Game feature test.
- Use current_player Devise helper in Dashboard show page. This is because when redirecting from the Game controller due to an error @player instance variable from the Dashboard controller would not exist resulting in No Method Error.
- Changed wording of error messaging when creating a game
Merge branch 'jc-create-new-game'