<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Fixtures Without Rails</title>
	<atom:link href="http://rails.aizatto.com/2007/06/04/fixtures-without-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://rails.aizatto.com/2007/06/04/fixtures-without-rails/</link>
	<description>Ruby and Ruby on Rails Development</description>
	<pubDate>Fri, 09 Jan 2009 23:04:43 +0000</pubDate>
	
		<item>
		<title>By: Jevin</title>
		<link>http://rails.aizatto.com/2007/06/04/fixtures-without-rails/#comment-661</link>
		<dc:creator>Jevin</dc:creator>
		<pubDate>Mon, 25 Feb 2008 15:36:59 +0000</pubDate>
		<guid isPermaLink="false">http://rails.aizatto.com/2007/06/04/fixtures-without-rails/#comment-661</guid>
		<description>As a response to Chris.  The Rake::TestTask works great for me:

Rake::TestTask.new do &#124;t&#124;
  t.libs &#60;&#60; "test"
  t.test_files = FileList['test/*Test.rb']
  t.verbose = true
end

Look up the Rake::TestTask for more info.</description>
		<content:encoded><![CDATA[<p>As a response to Chris.  The Rake::TestTask works great for me:</p>
<p>Rake::TestTask.new do |t|<br />
  t.libs &lt;&lt; &#8220;test&#8221;<br />
  t.test_files = FileList['test/*Test.rb']<br />
  t.verbose = true<br />
end</p>
<p>Look up the Rake::TestTask for more info.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://rails.aizatto.com/2007/06/04/fixtures-without-rails/#comment-60</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Mon, 04 Jun 2007 01:19:34 +0000</pubDate>
		<guid isPermaLink="false">http://rails.aizatto.com/2007/06/04/fixtures-without-rails/#comment-60</guid>
		<description>Hi,
Do you know how to do this without Rake inside a unit test? So you can just put something like:
fixtures :table1, :table2 at the top of a unit test?

That seems to be a bit trickier.
There's an old post on ruby forum from a year ago, where this guy has a custom test helper.

http://opensvn.csie.org/ezra/rails/ez_where_two/test/test_helper.rb

Then after you use that test helper, supposedly you can use fixtures in your own unit tests outside of rails.  I copied the test helper but I still cant get it to work.  Putting fixtures :table1, :table2 does absolutely nothing...

I wonder if the example is just too old.  I can get them to work if I do create_fixtures(table1, table2) inside a specific test method, but its not as nice as just putting fixtures :table1, etc. at the top of the entire unit test class.

-Chris</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Do you know how to do this without Rake inside a unit test? So you can just put something like:<br />
fixtures :table1, :table2 at the top of a unit test?</p>
<p>That seems to be a bit trickier.<br />
There&#8217;s an old post on ruby forum from a year ago, where this guy has a custom test helper.</p>
<p><a href="http://opensvn.csie.org/ezra/rails/ez_where_two/test/test_helper.rb" rel="nofollow">http://opensvn.csie.org/ezra/rails/ez_where_two/test/test_helper.rb</a></p>
<p>Then after you use that test helper, supposedly you can use fixtures in your own unit tests outside of rails.  I copied the test helper but I still cant get it to work.  Putting fixtures :table1, :table2 does absolutely nothing&#8230;</p>
<p>I wonder if the example is just too old.  I can get them to work if I do create_fixtures(table1, table2) inside a specific test method, but its not as nice as just putting fixtures :table1, etc. at the top of the entire unit test class.</p>
<p>-Chris</p>
]]></content:encoded>
	</item>
</channel>
</rss>
