Sha256: 0e1fc20ce8ff232b7d4f889991720033873743fb15ac815b4f8e7058c580f2fe
Contents?: true
Size: 533 Bytes
Versions: 13
Compression:
Stored size: 533 Bytes
Contents
require File.dirname(__FILE__) + '/abstract_unit' require File.dirname(__FILE__) + '/fixtures/entry' class RMagickViewOnlyTest < Test::Unit::TestCase include FileColumnHelper def setup Entry.file_column :image @request = RequestMock.new end def teardown FileUtils.rm_rf File.dirname(__FILE__)+"/public/entry/" end def test_url_for_image_column_without_model_versions e = Entry.new(:image => upload("skanthak.png")) assert_nothing_raised { url_for_image_column e, "image", "50x50" } end end
Version data entries
13 entries across 13 versions & 1 rubygems