Sha256: 4f44830121133c896379fad3441283140acb8657be56ada068e11b3da06d5fa9

Contents?: true

Size: 628 Bytes

Versions: 12

Compression:

Stored size: 628 Bytes

Contents

require File.dirname(__FILE__) + '/../spec_helper'

describe Paperclip::FrameGrab do
  dataset :assets
  let(:file) { File.new(File.join( File.dirname(__FILE__), "..", "fixtures", "test.flv")) }
  let(:asset) { assets(:video) }

  if Radiant.config['assets.create_video_thumbnails?']
    context "processing video attachment" do
      it "should create png icon and thumbnail"
      it "should create jpeg file at configured size"
      it "should squish if configured size is specific"
      it "should preserve aspect ratio if configured size is >"
      it "should resize then crop if configured size is #"
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
radiant-clipped-extension-1.0.11 spec/lib/frame_grab_spec.rb
radiant-clipped-extension-1.0.10 spec/lib/frame_grab_spec.rb
radiant-clipped-extension-1.0.9 spec/lib/frame_grab_spec.rb
radiant-clipped-extension-1.0.8 spec/lib/frame_grab_spec.rb
radiant-clipped-extension-1.0.7 spec/lib/frame_grab_spec.rb
radiant-clipped-extension-1.0.6 spec/lib/frame_grab_spec.rb
radiant-clipped-extension-1.0.5 spec/lib/frame_grab_spec.rb
radiant-clipped-extension-1.0.4 spec/lib/frame_grab_spec.rb
radiant-clipped-extension-1.0.3 spec/lib/frame_grab_spec.rb
radiant-clipped-extension-1.0.2 spec/lib/frame_grab_spec.rb
radiant-clipped-extension-1.0.1 spec/lib/frame_grab_spec.rb
radiant-clipped-extension-1.0.0 spec/lib/frame_grab_spec.rb