Skip to content

Instantly share code, notes, and snippets.

@rdp
Created August 23, 2011 17:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rdp/1165975 to your computer and use it in GitHub Desktop.
Save rdp/1165975 to your computer and use it in GitHub Desktop.
1) EdlParser should download from imdb if specified and merge
Failure/Error: EdlParser.parse_file('files/edls/a.txt').should == {"blank_outs" => [["0:00:56.0",
"0:00:57.0"], ["0:01:05", "0:01:14.500"]], "mutes" => [], "imdb_id" => "t1727587"}
expected: {"blank_outs"=>[["0:00:56.0", "0:00:57.0"], ["0:01:05", "0:01:14.500"]], "mutes"=>[],
"imdb_id"=>"t1727587"}
got: {"imdb_id"=>"tt1727587", "mutes"=>[], "blank_outs"=>[["0:00:56", "0:00:57"], ["0:01:05", "0:01:14.500"]]} (using ==)
Diff:
@@ -1,4 +1,4 @@
-{"blank_outs"=>[["0:00:56.0", "0:00:57.0"], ["0:01:05", "0:01:14.500"]],
+{"imdb_id"=>"tt1727587",
"mutes"=>[],
- "imdb_id"=>"t1727587"}
+ "blank_outs"=>[["0:00:56", "0:00:57"], ["0:01:05", "0:01:14.500"]]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment