Sha256: 144fe3205c1a82724299b5c2a0c8f3a2ec6cbbe8aa3f214f6bf31144ec9b98d9
Contents?: true
Size: 405 Bytes
Versions: 10
Compression:
Stored size: 405 Bytes
Contents
require 'test_helper' class ClippingImageTest < ActiveSupport::TestCase fixtures :clippings, :users, :roles def teardown Asset.destroy_all end def test_should_be_created image = ClippingImage.new(:attachable => clippings(:google)) io = image.data_from_url('http://www.google.com/intl/en_ALL/images/logo.gif') image.asset = io assert image.save! end end
Version data entries
10 entries across 10 versions & 1 rubygems