Sha256: f412021102dcf3268cd384a3d473f73c3ef4db9b1609f3784144eeedccac0242
Contents?: true
Size: 353 Bytes
Versions: 4
Compression:
Stored size: 353 Bytes
Contents
RSpec::Matchers.define :implement_interface do |expected| match do |object| @unimplemented_methods = object.unimplemented_methods.reject do |interface, methods| interface != expected end @unimplemented_methods.empty? end failure_message_for_should do |actual| "did not implement #{@unimplemented_methods.inspect}" end end
Version data entries
4 entries across 4 versions & 1 rubygems