Sha256: 3a7bc26cf93adf424c1cd5d94f56ad8f0c1aaa778e247d207e7291f6f07ec166

Contents?: true

Size: 635 Bytes

Versions: 17

Compression:

Stored size: 635 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 TrustyCms.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

17 entries across 17 versions & 1 rubygems

Version Path
trusty-clipped-extension-2.0.2.pre.beta spec/lib/frame_grab_spec.rb
trusty-clipped-extension-2.0.1.pre.beta spec/lib/frame_grab_spec.rb
trusty-clipped-extension-2.0.0.pre.beta spec/lib/frame_grab_spec.rb
trusty-clipped-extension-1.1.1 spec/lib/frame_grab_spec.rb
trusty-clipped-extension-1.1.0 spec/lib/frame_grab_spec.rb
trusty-clipped-extension-1.0.11 spec/lib/frame_grab_spec.rb
trusty-clipped-extension-1.0.10 spec/lib/frame_grab_spec.rb
trusty-clipped-extension-1.0.9 spec/lib/frame_grab_spec.rb
trusty-clipped-extension-1.0.8 spec/lib/frame_grab_spec.rb
trusty-clipped-extension-1.0.7 spec/lib/frame_grab_spec.rb
trusty-clipped-extension-1.0.6 spec/lib/frame_grab_spec.rb
trusty-clipped-extension-1.0.5 spec/lib/frame_grab_spec.rb
trusty-clipped-extension-1.0.4 spec/lib/frame_grab_spec.rb
trusty-clipped-extension-1.0.3 spec/lib/frame_grab_spec.rb
trusty-clipped-extension-1.0.2 spec/lib/frame_grab_spec.rb
trusty-clipped-extension-1.0.1 spec/lib/frame_grab_spec.rb
trusty-clipped-extension-1.0.0 spec/lib/frame_grab_spec.rb