let(:issue){create(:issue,project: project)}let(:attachment){subject[:attachments].first}subject{described_class.new(issue).present}it{is_expected.tobe_a(Hash)}it'shows the issue'doexpect(subject[:response_type]).tobe(:in_channel)expect(subject).tohave_key(:attachments)