blob: 120e121aae5f31849f1b92e1e52992a04ab3b502 (
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.extend(described_class)
end
it 'requires subclass to implement matcher' do
expect { subject.matches?(double) }
.to raise_error(NotImplementedError)
end
end
|