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