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

Version Path
file_column_with_s3-0.2.0 test/magick_view_only_test.rb
file_column_with_s3-0.1.9 test/magick_view_only_test.rb
file_column_with_s3-0.1.8 test/magick_view_only_test.rb
file_column_with_s3-0.1.7 test/magick_view_only_test.rb
file_column_with_s3-0.1.6 test/magick_view_only_test.rb
file_column_with_s3-0.1.5 test/magick_view_only_test.rb
file_column_with_s3-0.1.4 test/magick_view_only_test.rb
file_column_with_s3-0.1.3 test/magick_view_only_test.rb
file_column_with_s3-0.1.2 test/magick_view_only_test.rb
file_column_with_s3-0.1.1 test/magick_view_only_test.rb
file_column_with_s3-0.1.0 test/magick_view_only_test.rb
file_column-0.3.2 test/magick_view_only_test.rb
admin_assistant-2.0.1 rails_2_test/vendor/plugins/file_column/test/magick_view_only_test.rb
admin_assistant-1.0.1 test_rails_app/vendor/plugins/file_column/test/magick_view_only_test.rb
file-column-0.3.2 test/magick_view_only_test.rb
avatar-0.0.4 test/lib/file_column/test/magick_view_only_test.rb
avatar-0.0.5 test/lib/file_column/test/magick_view_only_test.rb
avatar-0.0.3 test/lib/file_column/test/magick_view_only_test.rb
avatar-0.0.2 test/lib/file_column/test/magick_view_only_test.rb
avatar-0.0.1 test/lib/file_column/test/magick_view_only_test.rb