Sha256: e47cbc47933d1bc194c0e1f76dc670b86845b509ea1dca4d94e74a3ed5e5469f
Contents?: true
Size: 440 Bytes
Versions: 1
Compression:
Stored size: 440 Bytes
Contents
require 'spec_helper' describe Img2Zpl::Image do subject { described_class.open('spec/fixtures/default.jpg') } it 'inherits from the MiniMagick::Image class' do expect(described_class.respond_to?(:open)).to be true expect(described_class.respond_to?(:read)).to be true expect(subject.respond_to?(:to_zpl)).to be true end it 'zpl method returns a string' do expect(subject.to_zpl).to be_kind_of String end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
img2zpl-0.1.1 | spec/img2zpl/image_spec.rb |