Sha256: fa2167cd58632359aec7edb9ca8c3ed18b96060e9c28c86efda46a84374d75b8
Contents?: true
Size: 271 Bytes
Versions: 6
Compression:
Stored size: 271 Bytes
Contents
class Should def have_string_attributes(attributes) @object.should.be.kind_of(NSAttributedString) has_attrs = @object.attributesAtIndex(0, effectiveRange: nil) attributes.each do |key, value| has_attrs[key].should == attributes[key] end end end
Version data entries
6 entries across 6 versions & 1 rubygems