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

extended_spec.rb « status « ci « gitlab « lib « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c2d74ca5cde0cbad5026e10fd590829d02b33c9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
require 'spec_helper'

describe Gitlab::Ci::Status::Extended do
  subject do
    Class.new.include(described_class)
  end

  it 'requires subclass to implement matcher' do
    expect { subject.matches?(double, double) }
      .to raise_error(NotImplementedError)
  end
end