Sha256: b0da79100fb319197d7a80d73d811e053e36f951b0258247f65cd6bff3d638f2

Contents?: true

Size: 733 Bytes

Versions: 35

Compression:

Stored size: 733 Bytes

Contents

require File.join(File.dirname(__FILE__), "helpers",  "spec_helper")

describe Videojuicer::Preset do
  
  before(:all) do
    @klass = Videojuicer::Preset
    configure_test_settings
  end
  
  describe "instantiation" do
    it_should_behave_like "a configurable"
  end
  
  describe "general interface:" do
    before(:all) do
      @singular_name = "preset"
      @plural_name = "presets"
    end
    
    it_should_behave_like "a RESTFUL resource model"
  end
  
  describe "formats" do
    it "should return a hash of available file, audio and video formats" do
      formats = @klass.formats
      formats.should be_kind_of(Hash)
      formats.keys.sort.should == %w(audio_formats file_formats video_formats)
    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
vj-sdk-0.8.0.1 spec/preset_spec.rb
vj-sdk-0.7.14 spec/preset_spec.rb
vj-sdk-0.7.13 spec/preset_spec.rb
vj-sdk-0.7.11 spec/preset_spec.rb
vj-sdk-0.7.10 spec/preset_spec.rb
vj-sdk-0.7.9 spec/preset_spec.rb
vj-sdk-0.7.8 spec/preset_spec.rb
vj-sdk-0.7.7 spec/preset_spec.rb
vj-sdk-0.7.6 spec/preset_spec.rb
vj-sdk-0.7.5 spec/preset_spec.rb
vj-sdk-0.7.4 spec/preset_spec.rb
vj-sdk-0.7.3 spec/preset_spec.rb
vj-sdk-0.7.2 spec/preset_spec.rb
vj-sdk-0.7.1 spec/preset_spec.rb
vj-sdk-0.7.0 spec/preset_spec.rb
vj-sdk-0.6.9 spec/preset_spec.rb
vj-sdk-0.6.8 spec/preset_spec.rb
vj-sdk-0.6.7 spec/preset_spec.rb
vj-sdk-0.6.5 spec/preset_spec.rb
vj-sdk-0.6.4 spec/preset_spec.rb