Sha256: dfb4671a49b7fa1e2a21bbd654a35453ab959331ce609e1348f5d957e69dbd4c
Contents?: true
Size: 987 Bytes
Versions: 2
Compression:
Stored size: 987 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper.rb' describe Quicktime::Track do describe "example.mov" do before(:each) do @movie = Quicktime::Movie.open(File.dirname(__FILE__) + '/../fixtures/example.mov') @track = @movie.video_tracks.first end it "duration should be 3.1 seconds" do @track.duration.should == 3.1 end it "frame count should be 31" do @track.frame_count.should == 31 end it "frame rate should be 10" do @track.frame_rate.should == 10 end it "should be able to delete a track" do @track.delete @movie.video_tracks.should == [] end it "should be able to add a track" do @track.delete @movie.video_tracks.should == [] end it "should be able to disable and enable a track" do @track.should be_enabled @track.disable @track.should_not be_enabled @track.enable @track.should be_enabled end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rmov-0.1.1 | spec/quicktime/track_spec.rb |
rmov-0.1.0 | spec/quicktime/track_spec.rb |