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
Deviselibrary for authentication and create aUserclass. - Add a custom attribute
roleto theUserclass. - Create a controller called
AdminDashboardwith an action and view calleddashboard. - Using BDD, ensure that only users with the
roleofadmincan view theAdminDashboard#dashboardview. - 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.