Sha256: 339013e08655ca354b9b5475defce1f3ab1659fc9d38474b05445695294b4d71
Contents?: true
Size: 486 Bytes
Versions: 9
Compression:
Stored size: 486 Bytes
Contents
require 'test/unit' require File.join(File.dirname(__FILE__), '../lib/mini_magick') class CommandBuilderTest < Test::Unit::TestCase include MiniMagick def test_basic c = CommandBuilder.new c.resize "30x40" assert_equal "-resize 30x40", c.args.join(" ") end def test_complicated c = CommandBuilder.new c.resize "30x40" c.input 1, 3, 4 c.lingo "mome fingo" assert_equal "-resize 30x40 -input 1 3 4 -lingo mome fingo", c.args.join(" ") end end
Version data entries
9 entries across 9 versions & 6 rubygems