TDD Module 7 Project
Guide Tasks
  • Read Tutorial

Project Requirements

  • Create a fork of your Module 6 project code.
  • Using BDD, create a new controller called StatsController that has an action/view of dashboard.
  • Using BDD, add a new action/view/route to the GuidesController called index.
  • Using BDD, change the workflow so that a user with a role of admin is automatically directed to the StatsController#dashboard view, and standard users are taken to the GuidesController#index page.
  • There should be at least 8 new spec written for this project, including both model and feature specs. All specs need to be passing in order for project to be approved.
  • Submit the final version of the code on this guide page. The submission should be a link to a public Github repo page.