spec/support/fake_rtsp_server.rb
#allowing the order of things to be mucked with
allowing the order of things to be mucked with
allowing the order of things to be mucked with
def send(*args)
    message = args.first
    message =~ /^(\w+) .+CSeq: (\S+)/m
    @message_type = $1.downcase
    @cseq = $2
    @session = 1234567890
  end
def send ( * args ) message = args . first message =~ / ^( \w +) .+CSeq: ( \S +) /m @message_type = $1 . downcase @cseq = $2 @session = 1234567890 end
allowing the order of things to be mucked with
allowing the order of things to be mucked with
args