Sha256: f9edb14fa27ddfa2c2ac401208fe77b11d075bbffac28c8d82042dbdb05bd7e1
Contents?: true
Size: 536 Bytes
Versions: 20
Compression:
Stored size: 536 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(f("skanthak.png"))) assert_nothing_raised { url_for_image_column e, "image", "50x50" } end end
Version data entries
20 entries across 20 versions & 5 rubygems