CSC/ECE 517 Fall 2018/E1853 Write unit tests for menu.rb
This project wrote unit tests for the Menu.rb model in Expertiza.
Project Introduction
The menu model is used to create the top bar menu in expertiza. It does this by obtaining and organizing Menu_Items based on the current users Role. Before this project there were no unit tests for menu.rb. This project seeked to bring the unit test coverage above %90.
Team
Barrett Bryson (bbryson) Komal Kangutkar (kmkangut)
RSpec File
The final result can be found at expertiza/spec/models/menu_spec.rb. This specific test can be run by calling in the expertiza directory:
rspec -fd ./spec/models/menu_spec.rb