Sha256: 02aae952383edc82b5dd514ea02f2465bfb0707a48193a550abe4a380692ddb4
Contents?: true
Size: 472 Bytes
Versions: 14
Compression:
Stored size: 472 Bytes
Contents
require File.dirname(__FILE__) + '/../../test/test_helper' class FleximageAbstractTest < Test::Unit::TestCase def test_should_generate_a_default_image p = Abstract.new assert p.save assert_equal 320, p.load_image.columns assert_equal 240, p.load_image.rows assert_color [65535, 0, 0], '160x120', p end def test_should_delete_an_abstract_model p = Abstract.new assert p.save assert_nothing_raised { p.destroy } end end
Version data entries
14 entries across 14 versions & 4 rubygems