fixes failing video recorder spec #19

Merged
merged 1 commit into from Mar 29, 2012

2 participants

@recursive

$ rspec spec/

Failures:

1) Headless::VideoRecorder stopping video recording using #stop_and_save stops video recording and saves file
Failure/Error: FileUtils.should_receive(:mv).with("/tmp/ci.mov", "/tmp/test.mov")
(FileUtils).mv("/tmp/ci.mov", "/tmp/test.mov")
expected: 1 time
received: 0 times
# ./spec/video_recorder_spec.rb:38:in `block (4 levels) in '

@leonid-shevtsov leonid-shevtsov merged commit 7fe8ae3 into leonid-shevtsov:master Mar 29, 2012
@leonid-shevtsov

Thank you, merged in 6bdebc2.

Did it not work because the mock expectation tested for the exact same instances of the strings? Weird.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment