Skip to content

Commit

Permalink
Add unit test for new rtmp path changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Deitte authored and gkatsev committed Nov 9, 2015
1 parent a25c4c9 commit 4e395b6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/unit/tech/flash-rtmp.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ test('test streamToParts', function() {
ok(parts.connection === 'http://myurl.com/');
ok(parts.stream === 'streaming&/is/fun');

parts = Flash.streamToParts('http://myurl.com/really?streaming=fun&really=fun');
ok(parts.connection === 'http://myurl.com/');
ok(parts.stream === 'really?streaming=fun&really=fun');

parts = Flash.streamToParts('http://myurl.com/streaming/is/fun');
ok(parts.connection === 'http://myurl.com/streaming/is/');
ok(parts.stream === 'fun');
Expand Down

0 comments on commit 4e395b6

Please sign in to comment.