Sha256: abeb15253eb32816dae37047007f8568515ed00967a032d47185c1be7eea1fcd

Contents?: true

Size: 263 Bytes

Versions: 10

Compression:

Stored size: 263 Bytes

Contents

require 'test_helper'

class AssetTest < ActiveSupport::TestCase
  fixtures :clippings, :users, :roles
  
  def teardown
    Asset.destroy_all
  end
  
  def test_should_be_created
    a = Asset.new(:attachable => clippings(:google))
    assert a.save!
  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
community_engine-3.2.0 test/unit/asset_test.rb
community_engine-3.0.0 test/unit/asset_test.rb
community_engine-2.3.2 test/unit/asset_test.rb
community_engine-2.3.1 test/unit/asset_test.rb
community_engine-2.3.0 test/unit/asset_test.rb
community_engine-2.1.0 test/unit/asset_test.rb
community_engine-2.0.0 test/unit/asset_test.rb
community_engine-2.0.0.beta3 test/unit/asset_test.rb
community_engine-2.0.0.beta2 test/unit/asset_test.rb
community_engine-2.0.0.beta1 test/unit/asset_test.rb