summaryrefslogtreecommitdiff
path: root/spec/presenters/clusterable_presenter_spec.rb
blob: 4f4ae5e07c5b94fa93460d38a6a2af974d67c862 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

require 'spec_helper'

describe ClusterablePresenter do
  include Gitlab::Routing.url_helpers

  describe '.fabricate' do
    let(:project) { create(:project) }

    subject { described_class.fabricate(project) }

    it 'creates an object from a descendant presenter' do
      expect(subject).to be_kind_of(ProjectClusterablePresenter)
    end
  end
end