summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/ci/status/extended_spec.rb
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