Sha256: 08f6f146d2a2387c3d028c10010a656c34e00ce9674ddf16a06f3d4baf633c9d

Contents?: true

Size: 633 Bytes

Versions: 11

Compression:

Stored size: 633 Bytes

Contents

require File.expand_path('../../spec_helper', __FILE__)

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

11 entries across 11 versions & 3 rubygems

Version Path
radiant-clipped-extension-1.1.2 spec/lib/frame_grab_spec.rb
radiant-clipped-extension-add-group-1.1.2 spec/lib/frame_grab_spec.rb
radiant-clipped-extension-1.1.1 spec/lib/frame_grab_spec.rb
radiant-clipped-extension-1.1.0 spec/lib/frame_grab_spec.rb
radiant-clipped-extension-1.0.17 spec/lib/frame_grab_spec.rb
radiant-1.0.0 ruby-debug/ruby/1.8/gems/radiant-clipped-extension-1.0.16/spec/lib/frame_grab_spec.rb
radiant-clipped-extension-1.0.16 spec/lib/frame_grab_spec.rb
radiant-clipped-extension-1.0.15 spec/lib/frame_grab_spec.rb
radiant-clipped-extension-1.0.14 spec/lib/frame_grab_spec.rb
radiant-clipped-extension-1.0.13 spec/lib/frame_grab_spec.rb
radiant-clipped-extension-1.0.12 spec/lib/frame_grab_spec.rb