Sha256: c9615b825498ea9fcb6de710f1452b1012fc574ccf88658d03c9b9763e091fbc

Contents?: true

Size: 409 Bytes

Versions: 7

Compression:

Stored size: 409 Bytes

Contents

require 'test_helper'

class ArtistTest < ActiveSupport::TestCase
  def test_access_grid_method
    assert_equal "36x36",     Artist.style_thumb
    assert_equal "54x",       Artist.style_grid_1
    assert_equal "150x",      Artist.style_grid_10
    assert_equal "200x300",   Artist.style_grid_15
    assert_equal "909x230#",  Artist.style_grid_16
    assert_equal "x700>",     Artist.style_portrait
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
attachment_magick-0.3 test/attachment_magick/units/artist_test.rb
attachment_magick-0.2.7 test/attachment_magick/units/artist_test.rb
attachment_magick-0.2.6 test/attachment_magick/units/artist_test.rb
attachment_magick-0.2.5 test/attachment_magick/units/artist_test.rb
attachment_magick-0.2.4 test/attachment_magick/units/artist_test.rb
attachment_magick-0.2.3 test/attachment_magick/units/artist_test.rb
attachment_magick-0.2.2 test/attachment_magick/units/artist_test.rb