require'spec_helper'require'email_spec'describeNotify,"merge request notifications"doincludeEmailSpec::Matchersdescribe"#resolved_all_discussions_email"dolet(:user){create(:user)}let(:merge_request){create(:merge_request)}let(:current_user){create(:user)}subject{Notify.resolved_all_discussions_email(user.id,merge_request.id,current_user.id)}it"includes the name of the resolver"doexpect(subject).tohave_body_textcurrent_user.nameendendend