added some possible integration tests for incorporating groups into project. groups will become owners of items. items will be transferred to purchases once they are checked off and "purchased" by a user in the group.
added group and group user tables and models. all tests related to groups and user relations are failing. no model level implementation has been put in place yet.
all validations are in place, the many-to-many relationship between user and group is functioning, only the integration tests are failing.
app recognizes if current user does not have any groups and prompts the user to add a group to use the app. when the current user adds a group they are automatically associated with it, and when they sign in their view of their groups is scoped to themselves alone. tests are failing due tocosmetic reasons, and the added step of having to create a group for right after sign up
group has many items and users have many items through groups
cleaned up spec files, removed list specs, added spec for a user creating a group after signin. added specs that check that a user has many items through groups, and groups have many items. still need to fix factories for groups and associate them with users.
changed item boolean purchased, to purchased_at datetime
all tests passing, group has many items, users have many items through their groups. added migration to add group_id to items table.
started integration test for adding items as nested resources for groups. that one integration test is failing.
root path goes to groups_path and the user is prompted to create a group if he/she doesn't have one on login. nested resources allow user to add items to groups that they click on. all tests passing!