Sha256: 7af3d432fb088d5509ca1e387de812ed244a69292239c95dab870d30e0083c0c

Contents?: true

Size: 188 Bytes

Versions: 24

Compression:

Stored size: 188 Bytes

Contents

class Should
  def have_string_attributes(attributes)
    @object.should.be.kind_of(NSAttributedString)
    @object.attributesAtIndex(0, effectiveRange:nil).should == attributes
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
sugarcube-3.3.6 spec/helpers/attributed_string.rb
sugarcube-3.3.5 spec/helpers/attributed_string.rb
sugarcube-3.3.4 spec/helpers/attributed_string.rb
sugarcube-3.3.3 spec/helpers/attributed_string.rb
sugarcube-3.3.2 spec/helpers/attributed_string.rb
sugarcube-3.3.1 spec/helpers/attributed_string.rb
sugarcube-3.3.0 spec/helpers/attributed_string.rb
sugarcube-3.2.0 spec/helpers/attributed_string.rb
sugarcube-3.1.1 spec/helpers/attributed_string.rb
sugarcube-3.1.0 spec/helpers/attributed_string.rb
sugarcube-3.0.8 spec/helpers/attributed_string.rb
sugarcube-3.0.7 spec/helpers/attributed_string.rb
sugarcube-3.0.6 spec/helpers/attributed_string.rb
sugarcube-3.0.5 spec/helpers/attributed_string.rb
sugarcube-3.0.4 spec/helpers/attributed_string.rb
sugarcube-3.0.3 spec/helpers/attributed_string.rb
sugarcube-3.0.2 spec/helpers/attributed_string.rb
sugarcube-3.0.1 spec/helpers/attributed_string.rb
sugarcube-3.0.0 spec/helpers/attributed_string.rb
sugarcube-2.12.3 spec/helpers/attributed_string.rb