Sha256: 77931bc8ed35891a724e8b8c7c57be95090e24d6438cc690548119feb92ad02c
Contents?: true
Size: 578 Bytes
Versions: 3
Compression:
Stored size: 578 Bytes
Contents
# encoding: UTF-8 require 'spec_helper' describe Grim do it "should have a VERSION constant" do Grim.const_defined?('VERSION').should be_true end it "should have WIDTH constant set to 1024" do Grim::WIDTH.should == 1024 end it "should have QUALITY constant set to 90" do Grim::QUALITY.should == 90 end it "should have DENSITY constant set to 300" do Grim::DENSITY.should == 300 end describe "#new" do it "should return an instance of Grim::Pdf" do Grim.reap(fixture_path("smoker.pdf")).class.should == Grim::Pdf end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
grim-0.2.4 | spec/lib/grim_spec.rb |
grim-0.2.3 | spec/lib/grim_spec.rb |
grim-0.2.1 | spec/lib/grim_spec.rb |