Displaying 1 result from an estimated 1 matches for "basic_post".
Did you mean:
basic_ios
2006 Mar 20
2
Testing Models And Fixtures
I have finally decided to look into testing and I am going through
the examples 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
fixture...