debian-mirror-gitlab/spec/presenters/member_presenter_spec.rb
2023-03-04 22:38:38 +05:30

14 lines
378 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
RSpec.describe MemberPresenter, feature_category: :subgroups do
let_it_be(:member) { build(:group_member) }
let(:presenter) { described_class.new(member) }
describe '#last_owner?' do
it 'raises `NotImplementedError`' do
expect { presenter.last_owner? }.to raise_error(NotImplementedError)
end
end
end