josephlee702 / little-shop-7

2 stars 3 forks source link

Refactor/merchant dash #74

Closed chisPmama closed 11 months ago

chisPmama commented 11 months ago

So much happening here.

This should complete the following:

  1. Refactors test data that was being instantiated for testing for merchant dashboard to pull from the test_data method created in RailsHelper
  2. Had to include another relationship to better pull data without having a headache by giving merchants a has_many customers through invoices
  3. Includes testing for the following: Model testing for Merchant for top_5 method and new has_many relationship, testing for User Stories 2 and 3
  4. Added html logic to fulfill User Story 3 needs

OK goodnight now!