summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/ci/status/group/common_spec.rb
blob: 35fff30ea9de93f980940a320442a5a287c4fe8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# frozen_string_literal: true

require 'spec_helper'

describe Gitlab::Ci::Status::Group::Common do
  subject do
    Gitlab::Ci::Status::Core.new(double, double)
      .extend(described_class)
  end

  it 'does not have action' do
    expect(subject).not_to have_action
  end

  it 'has details' do
    expect(subject).not_to have_details
  end

  it 'has no details_path' do
    expect(subject.details_path).to be_falsy
  end
end