2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

proper column naming

silly schemaless database habits are hard to kill
This commit is contained in:
Régis Hanol 2013-06-17 04:02:17 +02:00
parent 454636abf1
commit af45b5a11e
3 changed files with 23 additions and 8 deletions

View file

@ -20,8 +20,8 @@ describe OptimizedImage do
it "works" do
Tempfile.any_instance.expects(:close).once
Tempfile.any_instance.expects(:unlink).once
oi.sha.should == "da39a3ee5e6b4b0d3255bfef95601890afd80709"
oi.ext.should == ".jpg"
oi.sha1.should == "da39a3ee5e6b4b0d3255bfef95601890afd80709"
oi.extension.should == ".jpg"
oi.width.should == 244
oi.height.should == 66
end