mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
renamed the sha column to the proper sha1
This commit is contained in:
@@ -34,7 +34,7 @@ describe Upload do
|
||||
upload.user_id.should == user_id
|
||||
upload.original_filename.should == logo.original_filename
|
||||
upload.filesize.should == File.size(logo.tempfile)
|
||||
upload.sha.should == Digest::SHA1.file(logo.tempfile).hexdigest
|
||||
upload.sha1.should == Digest::SHA1.file(logo.tempfile).hexdigest
|
||||
upload.width.should == 244
|
||||
upload.height.should == 66
|
||||
upload.url.should == url
|
||||
|
||||
Reference in New Issue
Block a user