11 lines
326 B
Ruby
11 lines
326 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'spec_helper'
|
|
|
|
RSpec.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
|