Created
March 5, 2012 09:58
-
-
Save pencilcheck/1977695 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require_relative './helper' | |
require 'rdiff' | |
require 'tempfile' | |
describe RDiff do | |
it "should produce signature file consistently" do | |
file = Tempfile.new 'test' | |
file.write "blah blah blah" | |
test_file = Tempfile.new 'test' | |
test_file.write "blah blah blah" | |
test_file.rsync_signature.should eq(file.rsync_signature) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment