Sha256: db1cb286e09e62ad3eb1b33c935eba0c7148876541d82d5a5a0ec1aada6693ad
Contents?: true
Size: 530 Bytes
Versions: 5
Compression:
Stored size: 530 Bytes
Contents
shared_examples_for 'a status checker' do it 'inherits from StatusCat::Checker' do expect(checker).to be_a_kind_of(StatusCat::Checkers::Base) end describe 'attributes' do it 'has a name reader' do expected = checker.class.to_s.split('::').last.underscore.to_sym expect(checker.name).to eql(expected) end it 'has a value reader' do expect(checker.value).to eql(checker.value) end it 'has a status reader' do expect(checker.status).to eql(checker.status) end end end
Version data entries
5 entries across 5 versions & 1 rubygems