Sha256: 476b4d8f56e2b991654439f2c7dfebbaf15c1ffd4207e53e7acee9d21e6f8818

Contents?: true

Size: 429 Bytes

Versions: 27

Compression:

Stored size: 429 Bytes

Contents

require 'spec/helper'
require "fsr/app"
FSR::App.load_application("playback")

describe "Testing FSR::App::Playback" do
  it "Plays a file or stream" do
    playback = FSR::App::Playback.new("shout://scfire-ntc-aa01.stream.aol.com/stream/1035")
    playback.sendmsg.should == "call-command: execute\nexecute-app-name: playback\nexecute-app-arg: shout://scfire-ntc-aa01.stream.aol.com/stream/1035\nevent-lock:true\n\n"
  end

end

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
bougyman-freeswitcher-0.1.0 spec/fsr/app/playback.rb
bougyman-freeswitcher-0.1.1 spec/fsr/app/playback.rb
bougyman-freeswitcher-0.1.2 spec/fsr/app/playback.rb
bougyman-freeswitcher-0.1.3 spec/fsr/app/playback.rb
bougyman-freeswitcher-0.1.4 spec/fsr/app/playback.rb
bougyman-freeswitcher-0.3.0 spec/fsr/app/playback.rb
bougyman-freeswitcher-0.3.1 spec/fsr/app/playback.rb
bougyman-freeswitcher-0.4.0 spec/fsr/app/playback.rb
bougyman-freeswitcher-0.4.1 spec/fsr/app/playback.rb
bougyman-freeswitcher-0.4.2 spec/fsr/app/playback.rb
freeswitcher-0.4.10 spec/fsr/app/playback.rb
freeswitcher-0.4.9 spec/fsr/app/playback.rb
freeswitcher-0.4.8 spec/fsr/app/playback.rb
freeswitcher-0.4.7 spec/fsr/app/playback.rb
freeswitcher-0.4.6 spec/fsr/app/playback.rb
freeswitcher-0.4.4 spec/fsr/app/playback.rb
freeswitcher-0.4.3 spec/fsr/app/playback.rb
freeswitcher-0.4.2 spec/fsr/app/playback.rb
freeswitcher-0.0.12 spec/fsr/app/playback.rb
freeswitcher-0.0.13 spec/fsr/app/playback.rb