Sha256: 8d20692ff613ccc84e113b9b2b0f87c16a2d25fd2e44f92c8c539485b8a89e1e
Contents?: true
Size: 282 Bytes
Versions: 20
Compression:
Stored size: 282 Bytes
Contents
require 'test_helper' class FooTest < ActiveSupport::TestCase test "Foos have names" do assert_equal 'Foo one', foos(:one).name end test "Foos can be stored" do foo = Foo.new(name: 'A third') foo.save! assert_equal 'A third', Foo.find(foo.id).name end end
Version data entries
20 entries across 8 versions & 1 rubygems