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

Version Path
parlement-0.10 vendor/plugins/file_column/test/magick_view_only_test.rb
parlement-0.11 vendor/plugins/file_column/test/magick_view_only_test.rb
parlement-0.12 vendor/plugins/file_column/test/magick_view_only_test.rb
parlement-0.13 vendor/plugins/file_column/test/magick_view_only_test.rb
parlement-0.14 vendor/plugins/file_column/test/magick_view_only_test.rb
parlement-0.17 vendor/plugins/file_column/test/magick_view_only_test.rb
parlement-0.3 vendor/plugins/file_column/test/magick_view_only_test.rb
parlement-0.4 vendor/plugins/file_column/test/magick_view_only_test.rb
parlement-0.5 vendor/plugins/file_column/test/magick_view_only_test.rb
parlement-0.6 vendor/plugins/file_column/test/magick_view_only_test.rb
parlement-0.7 vendor/plugins/file_column/test/magick_view_only_test.rb
parlement-0.8 vendor/plugins/file_column/test/magick_view_only_test.rb
parlement-0.9 vendor/plugins/file_column/test/magick_view_only_test.rb