Displaying 1 result from an estimated 1 matches for "2006_02".
Did you mean:
200602
2006 Mar 20
2
Testing Models And Fixtures
...les in the AWDWR book and I tried the following and it does
not work... even though I don''t see why it shouldn''t.
===========
posts.yml
===========
basic_post:
id: 1
title: Title
body: Body
created_at: 2006-02-01 00:00:00
updated_at: 2006_02-02 00:00:00
===========
post_test.rb
===========
require File.dirname(__FILE__) + ''/../test_helper''
class PostTest < Test::Unit::TestCase
fixtures :posts
def setup
@post = Post.find(1)
end
def test_create
assert_kind_of Post, @basic_post
assert_e...