require 'rails_helper'

 describe Boot::User do
    let(:user) { create :user }
    let(:group) { create :group }
    let(:discussion) { create :discussion, group: group }
    let!(:membership) { group.add_member! user }
    let(:subject) { Boot::User.new(user) }
    let(:notification) { create(:notification, user: user) }
    let(:comment) { create(:comment, parent: create(:comment, discussion: discussion, author: user), discussion: discussion) }
    let(:notification) { create :notification, user: user }
    let(:identity) { create :slack_identity, user: user }

    # describe 'data' do
    #   it 'returns the current users identities' do
    #     identity
    #     expect(subject.payload[:identities].map { |i| i[:id] }).to include identity.id
    #   end
    # end
 end
