2019-07-07 11:18:12 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2016-09-29 09:46:39 +05:30
|
|
|
require 'spec_helper'
|
|
|
|
|
2020-07-28 23:09:34 +05:30
|
|
|
RSpec.describe MergeRequest::Metrics do
|
2018-03-17 18:26:18 +05:30
|
|
|
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') }
|
2016-09-29 09:46:39 +05:30
|
|
|
end
|
|
|
|
end
|