Rails assignment - testing basic cart functionality