debian-mirror-gitlab/spec/presenters/member_presenter_spec.rb

15 lines
378 B
Ruby
Raw Normal View History

2023-03-04 22:38:38 +05:30
# 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