Sha256: 2c5f167849a183da5dfe97743031b6f4da92375c21546a7fab561345a2e626ff
Contents?: true
Size: 444 Bytes
Versions: 14
Compression:
Stored size: 444 Bytes
Contents
require File.dirname(__FILE__) + '/../../test/test_helper' class FleximageImageProxyTest < Test::Unit::TestCase def test_should_have_a_width p = PhotoBare.create(:image_file => files(:photo)) p.operate do |image| assert_equal 768, image.width end end def test_should_have_a_height p = PhotoBare.create(:image_file => files(:photo)) p.operate do |image| assert_equal 1024, image.height end end end
Version data entries
14 entries across 14 versions & 4 rubygems