Sha256: 4f31e375f4040364b442492b7aa3d1887457f66125a34d73f0c1a34769fcbb0c

Contents?: true

Size: 256 Bytes

Versions: 7

Compression:

Stored size: 256 Bytes

Contents

require 'spec_helper'

describe 'Text' do
  it "should parse text layer" do
    psd = PSD.new('spec/files/text.psd')
    psd.parse!

    text = psd.tree.children.first.text
    text.should be_an_instance_of(Hash)
    text[:value].should == 'Test'
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
psd-0.4.2 spec/text_spec.rb
psd-0.4.1 spec/text_spec.rb
psd-0.4.0 spec/text_spec.rb
psd-0.3.5 spec/text_spec.rb
psd-0.3.4 spec/text_spec.rb
psd-0.3.3 spec/text_spec.rb
psd-0.3.2 spec/text_spec.rb