2016-12-02 08:37:29 -05:00
|
|
|
require 'spec_helper'
|
|
|
|
|
2016-12-05 05:35:27 -05:00
|
|
|
describe Gitlab::Ci::Status::Extended do
|
2016-12-02 08:37:29 -05:00
|
|
|
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
|