Sha256: e4fbce44382df6034197fe84fb4060f42232202365f3de8fb0e37dc3874f067f

Contents?: true

Size: 725 Bytes

Versions: 6

Compression:

Stored size: 725 Bytes

Contents

Given /^a description with no time zone fields$/ do
 @sdp_missing_time = "v=0\r\no=- 1809368942 3379601213 IN IP4 127.0.0.1\r\ns=Secret Agent from SomaFM\r\ni=Downtempo Spy Lounge\r\nc=IN IP4 0.0.0.0\r\nt=0 0\r\na=x-qt-text-cmt:Orban Opticodec-PCx-qt-text-nam:Secret Agent from SomaFMx-qt-text-inf:Downtempo Spy Loungecontrol:*\r\nm=audio 0 RTP/AVP 96\r\na=rtpmap:96 MP4A-LATM/44100/2a=fmtp:96 cpresent=0;config=400027200000a=control:trackID=1\r\n"
end

When /^I parse the description$/ do
  @sdp = SDP.parse @sdp_missing_time
end

Then /^I can access the protocol_version field value$/ do
  @sdp.protocol_version.should == "0"
end

Then /^put the description back to a String$/ do
  @sdp.to_s.should == @sdp_missing_time
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sdp-0.2.8 features/step_definitions/accepts_description_text_steps.rb
sdp-0.2.7 features/step_definitions/accepts_description_text_steps.rb
sdp-0.2.6 features/step_definitions/accepts_description_text_steps.rb
sdp-0.2.5 features/step_definitions/accepts_description_text_steps.rb
sdp-0.2.4 features/step_definitions/accepts_description_text_steps.rb
sdp-0.2.2 features/step_definitions/accepts_description_text_steps.rb