Welcome to mirror list, hosted at ThFree Co, Russian Federation.

common_spec.rb « group « status « ci « gitlab « lib « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2bfd816e45d6972d9e9a03bce45894b4c23f97bd (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'

RSpec.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