Sha256: 3ca95d473c7a3afdde77a2214f124d8bd4268342f636940d3d48e785e1b61610

Contents?: true

Size: 257 Bytes

Versions: 2

Compression:

Stored size: 257 Bytes

Contents

require 'helper'

class TestTestDummy < Test::Unit::TestCase
  def test_simple_model
    simple = Simple.create_fake
    
    assert_equal [ ], simple.errors.full_messages
    assert !simple.new_record?
    
    assert_equal 8, simple.name.length
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
test_dummy-0.1.4 test/test_test_dummy.rb
test_dummy-0.1.3 test/test_test_dummy.rb