5069682d8e
- Ignore JS fixtures - Ignore qa directory - Rewrite concern specs to put concern name first
18 lines
504 B
Ruby
18 lines
504 B
Ruby
require 'spec_helper'
|
|
require 'email_spec'
|
|
|
|
describe Emails::MergeRequests do
|
|
include EmailSpec::Matchers
|
|
|
|
describe "#resolved_all_discussions_email" do
|
|
let(: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" do
|
|
expect(subject).to have_body_text current_user.name
|
|
end
|
|
end
|
|
end
|