Sha256: 8dc50445ded485e4f17dfbd3b72c3ef1ab014246a67a9742dfea49d656a1b122

Contents?: true

Size: 205 Bytes

Versions: 15

Compression:

Stored size: 205 Bytes

Contents

require 'spec_helper'

describe ZPNG::Image do
  it "should raise ZPNG::NotSupported on unknown file" do
    lambda{
      ZPNG::Image.load(__FILE__)
    }.should raise_error(ZPNG::NotSupported)
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
zpng-0.4.5 spec/exception_spec.rb
zpng-0.4.4 spec/exception_spec.rb
zpng-0.4.3 spec/exception_spec.rb
zpng-0.4.2 spec/exception_spec.rb
zpng-0.4.1 spec/exception_spec.rb
zpng-0.4.0 spec/exception_spec.rb
zpng-0.3.4 spec/exception_spec.rb
zpng-0.3.3 spec/exception_spec.rb
zpng-0.3.2 spec/exception_spec.rb
zpng-0.3.1 spec/exception_spec.rb
zpng-0.3.0 spec/exception_spec.rb
zpng-0.2.5 spec/exception_spec.rb
zpng-0.2.4 spec/exception_spec.rb
zpng-0.2.3 spec/exception_spec.rb
zpng-0.2.2 spec/exception_spec.rb