Skip to content

Commit 9670e5b

Browse files
committed
Fix typos and remove extra test
1 parent f914b3c commit 9670e5b

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

lib/grim/image_magick_processor.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ def save(pdf, index, path, options)
3333
command << width.to_s
3434
command << alpha if alpha
3535
command << "-antialias"
36-
command << "-render",
36+
command << "-render"
3737
command << "-quality"
3838
command << quality.to_s
3939
command << "-colorspace"
40-
command << colorspace,
40+
command << colorspace
4141
command << "-interlace"
4242
command << "none"
4343
command << "-density"
44-
command << density.to_s,
44+
command << density.to_s
4545
command << "#{Shellwords.shellescape(pdf.path)}[#{index}]"
4646
command << path
4747

spec/lib/grim_spec.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@
2525
it "should have COLORSPACE constant set to 'RGB'" do
2626
expect(Grim::COLORSPACE).to eq('RGB')
2727
end
28-
29-
it "should have ALPHA constant set to 'Set'" do
30-
expect(Grim::ALPHA).to eq('')
31-
end
3228

3329
describe "#reap" do
3430
it "should return an instance of Grim::Pdf" do

0 commit comments

Comments
 (0)