Sha256: 3ca5488b8cb567996fe5e6d2c499074dfbd46b48021bb42d065115d60b70804b

Contents?: true

Size: 225 Bytes

Versions: 34

Compression:

Stored size: 225 Bytes

Contents

require File.join(File.dirname(__FILE__), '/../../test_helper')

class LinkTest < ActiveSupport::TestCase
  def test_create
    assert Factory.build(:link).valid?
    assert !Factory.build(:link, :name => "").valid?
  end
end

Version data entries

34 entries across 34 versions & 11 rubygems

Version Path
we5-browsercms-3.1.0 test/unit/models/link_test.rb
browsercms-3.0.6 test/unit/models/link_test.rb
browsercms-3.0.5 test/unit/models/link_test.rb
we5-browsercms-3.0.5.1 test/unit/models/link_test.rb
we5-browsercms-3.0.5 test/unit/models/link_test.rb
browsercms_s3-3.0.5 test/unit/models/link_test.rb
browsercms-3.0.4 test/unit/models/link_test.rb
browsercms-3.0.3 test/unit/models/link_test.rb
browsercms_s3-3.0.4 test/unit/models/link_test.rb
browsercms_s3-3.0.3 test/unit/models/link_test.rb
we5-browsercms-3.0.2 test/unit/models/link_test.rb
browsercms-3.0.2 test/unit/models/link_test.rb
browsercms-3.0.1 test/unit/models/link_test.rb
browsercms-3.0.0 test/unit/models/link_test.rb