spec/image_spec.rb in psd-1.4.3 vs spec/image_spec.rb in psd-1.4.4
- old
+ new
@@ -43,10 +43,9 @@
it "should successfully parse the image data" do
@psd.options[:parse_layer_images] = true
@psd.parse!
image = @psd.tree.children.first.image
- expect(image).to be_an_instance_of(PSD::ChannelImage)
expect(image.width).to eq(1)
expect(image.height).to eq(1)
expect(image.pixel_data).to eq([ChunkyPNG::Color.rgba(0, 100, 200, 255)])
end
\ No newline at end of file