spec/video_spec.rb in videojuicer-vj-sdk-0.1.3 vs spec/video_spec.rb in videojuicer-vj-sdk-0.1.4
- old
+ new
@@ -23,18 +23,23 @@
describe "general interface:" do
before(:all) do
@singular_name = "asset"
@plural_name = "assets/video"
@good_attributes = {
- :user_id => rand(100) + 1,
- :licensed_at => Time.now,
- :licensed_by => "foo, bar",
- :licensed_under => "CC BY:NC:SA",
- :published_at => Time.now,
- :duration => 180000,
- :width => 640,
- :height => 480,
- :bit_rate => 262144,
+ :user_id => rand(100) + 1,
+ :licensed_at => Time.now,
+ :licensed_by => "foo, bar",
+ :licensed_under => "CC BY:NC:SA",
+ :published_at => Time.now,
+ :duration => 14990,
+ :audio_bit_rate => 354200,
+ :audio_format => "QDesign Music 2",
+ :audio_sample_rate => 22050,
+ :audio_stereo => "mono",
+ :video_bit_rate => 1000000,
+ :video_format => "Sorenson Video 3 Decompressor",
+ :width => 240,
+ :height => 180,
:file => File.open(File.join(File.dirname(__FILE__), "files", "video.mov"))
}
end
it_should_behave_like "a RESTFUL resource model"
\ No newline at end of file