Sha256: d87c258908c25b658c4734bd74b0b97a4b8956dcef67727ff186a3685ad4e4eb
Contents?: true
Size: 1.35 KB
Versions: 3
Compression:
Stored size: 1.35 KB
Contents
require File.join(File.dirname(__FILE__), "helpers", "spec_helper") describe Videojuicer::Asset::Audio do before(:all) do @klass = Videojuicer::Asset::Audio configure_test_settings Videojuicer.enter_scope :seed_name => fixtures.seed.name, :consumer_key=>fixtures["write-master"].consumer.consumer_key, :consumer_secret=>fixtures["write-master"].consumer.consumer_secret, :token=>fixtures["write-master"].authorized_token.oauth_token, :token_secret=>fixtures["write-master"].authorized_token.oauth_token_secret end after(:all) do Videojuicer.exit_scope end describe "instantiation" do it_should_behave_like "a configurable" end describe "general interface:" do before(:all) do @singular_name = "asset" @plural_name = "assets/audio" @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, :bit_rate => 262144, :file => File.open(File.join(File.dirname(__FILE__), "files", "audio.mp3")) } end it_should_behave_like "a RESTFUL resource model" end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
videojuicer-vj-sdk-0.1.0 | spec/audio_spec.rb |
videojuicer-vj-sdk-0.1.1 | spec/audio_spec.rb |
videojuicer-vj-sdk-0.1.3 | spec/audio_spec.rb |