test/middleware/test_reformat_middleware.rb in tracksperanto-1.6.0 vs test/middleware/test_reformat_middleware.rb in tracksperanto-1.6.1
- old
+ new
@@ -23,11 +23,13 @@
upscale_h = 2.66666666666667
upscale_v = 1.875
receiver = flexmock
receiver.should_receive(:start_export).once.with(1920,1080)
+ receiver.should_receive(:end_export).once
m = Tracksperanto::Middleware::Reformat.new(receiver, :width => 1920, :height => 1080)
m.start_export(720, 576)
+ m.end_export
end
end
\ No newline at end of file