TDD Module 4 Project
Guide Tasks
  • Read Tutorial
  • Complete the Exercise

Project Requirements

  • Create a new Rails application
  • Install and configure the RSpec test framework with Capybara.
  • Install and configure the Devise library for authentication and create a User class.
  • Add a custom attribute role to the User class.
  • Create a controller called AdminDashboard with an action and view called dashboard.
  • Using BDD, ensure that only users with the role of admin can view the AdminDashboard#dashboard view.
  • There should be at least 2 specs 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.