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
SFEley-browsercms-3.0.2 test/unit/models/link_test.rb
buzzware-browsercms-3.0.2 test/unit/models/link_test.rb
coredumplings-browsercms-3.0.0 test/unit/models/link_test.rb
nate-browsercms-3.0.210 test/unit/models/link_test.rb
nate-browsercms-3.0.211 test/unit/models/link_test.rb
we5-browsercms-3.0.1.1 test/unit/models/link_test.rb
webficient-browsercms-3.0.1 test/unit/models/link_test.rb
webficient-browsercms-3.0.2 test/unit/models/link_test.rb
webficient-browsercms-3.0.3 test/unit/models/link_test.rb
webficient-browsercms-3.0.4 test/unit/models/link_test.rb
browsercms-3.1.4 test/unit/models/link_test.rb
browsercms-3.1.3 test/unit/models/link_test.rb
bf4-browsercms-3.1.0 test/unit/models/link_test.rb
drujensen-browsercms-3.2.0 test/unit/models/link_test.rb
browsercmsi-3.1.2 test/unit/models/link_test.rb
browsercms-3.1.2 test/unit/models/link_test.rb
browsercms-3.1.1 test/unit/models/link_test.rb
browsercmsi-3.1.1 test/unit/models/link_test.rb
browsercmsi-3.1.0 test/unit/models/link_test.rb
browsercms-3.1.0 test/unit/models/link_test.rb