Commit 9c92cd94 by Prem Sichanugrist

Remove duplicate test added in 7436b512

parent b7b2b843
...@@ -1101,11 +1101,6 @@ class AttachmentTest < Test::Unit::TestCase ...@@ -1101,11 +1101,6 @@ class AttachmentTest < Test::Unit::TestCase
assert_equal File.size(@file), @dummy.avatar.size assert_equal File.size(@file), @dummy.avatar.size
end end
should "return the right value when sent #avatar_file_size" do
@dummy.avatar = @file
assert_equal File.size(@file), @dummy.avatar.size
end
context "and avatar_created_at column" do context "and avatar_created_at column" do
setup do setup do
ActiveRecord::Base.connection.add_column :dummies, :avatar_created_at, :timestamp ActiveRecord::Base.connection.add_column :dummies, :avatar_created_at, :timestamp
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment