test/mediainfo_test.rb in mediainfo-0.7.0 vs test/mediainfo_test.rb in mediainfo-0.7.1

- old
+ new

@@ -98,27 +98,27 @@ end test "retains last system command generated" do p = File.expand_path "./test/fixtures/dinner.3g2.xml" m = Mediainfo.new p - assert_equal "mediainfo $'#{p}' --Output=XML", m.last_command + assert_equal "mediainfo \"#{p}\" --Output=XML", m.last_command end test "allows customization of path to mediainfo binary" do Mediainfo.any_instance.stubs(:run_command!).returns("test") assert_equal "mediainfo", Mediainfo.path m = Mediainfo.new "/dev/null" - assert_equal "mediainfo $'/dev/null' --Output=XML", m.last_command + assert_equal "mediainfo \"/dev/null\" --Output=XML", m.last_command Mediainfo.any_instance.stubs(:mediainfo_version).returns("0.7.25") Mediainfo.path = "/opt/local/bin/mediainfo" assert_equal "/opt/local/bin/mediainfo", Mediainfo.path m = Mediainfo.new "/dev/null" - assert_equal "/opt/local/bin/mediainfo $'/dev/null' --Output=XML", m.last_command + assert_equal "/opt/local/bin/mediainfo \"/dev/null\" --Output=XML", m.last_command end test "can be initialized with a raw response" do m = Mediainfo.new m.raw_response = mediainfo_fixture("AwayWeGo_24fps.mov")