gitlab-org--gitlab-foss/spec/models/merge_request/metrics_spec.rb
Pavel Shutsin f089a23015 Backport EE changes for productivity analytics
Improve diff lines count efficiency
2019-09-04 13:01:55 +03:00

11 lines
320 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
describe MergeRequest::Metrics do
describe 'associations' do
it { is_expected.to belong_to(:merge_request) }
it { is_expected.to belong_to(:latest_closed_by).class_name('User') }
it { is_expected.to belong_to(:merged_by).class_name('User') }
end
end