<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Tutorial: How to install/setup RSpec (and Factory Girl) in Rails</title>
	<atom:link href="http://www.pmamediagroup.com/2009/04/tutorial-install-rspec-rails-factory-girl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pmamediagroup.com/2009/04/tutorial-install-rspec-rails-factory-girl/</link>
	<description>Unique Marketing Techniques and Strategies with Guaranteed Results!</description>
	<lastBuildDate>Thu, 17 Jun 2010 16:48:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Umuro</title>
		<link>http://www.pmamediagroup.com/2009/04/tutorial-install-rspec-rails-factory-girl/comment-page-1/#comment-275</link>
		<dc:creator>Umuro</dc:creator>
		<pubDate>Thu, 25 Jun 2009 14:54:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.pmamediagroup.com/?p=277#comment-275</guid>
		<description>And moreover, in addition to that, we can enhance factories with their own helper methods.  To design clean and complicated factories - http://conceptspace.wikidot.com/blog:39

Factory.define :child do &#124;f&#124;
 
    class &lt;&lt; f
        #do whatever you can do in a normal class definition
        def default_parent
            @default_parent &#124;&#124;= Factory(:parent)
        end
    end
 
    f.sequence(:name) {&#124;n&#124; &quot;Child#{n}&quot;}
    f.parent_id { f.default_parent.id }
end</description>
		<content:encoded><![CDATA[<p>And moreover, in addition to that, we can enhance factories with their own helper methods.  To design clean and complicated factories &#8211; <a href="http://conceptspace.wikidot.com/blog:39">http://conceptspace.wikidot.com/blog:39</a></p>
<p>Factory.define :child do |f|</p>
<p>    class &lt;&lt; f<br />
        #do whatever you can do in a normal class definition<br />
        def default_parent<br />
            @default_parent ||= Factory(:parent)<br />
        end<br />
    end</p>
<p>    f.sequence(:name) {|n| &quot;Child#{n}&quot;}<br />
    f.parent_id { f.default_parent.id }<br />
end</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gayu</title>
		<link>http://www.pmamediagroup.com/2009/04/tutorial-install-rspec-rails-factory-girl/comment-page-1/#comment-246</link>
		<dc:creator>gayu</dc:creator>
		<pubDate>Sat, 30 May 2009 07:31:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.pmamediagroup.com/?p=277#comment-246</guid>
		<description>getting error when installing rspec</description>
		<content:encoded><![CDATA[<p>getting error when installing rspec</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to Install Cucumber &#124; PMA Media Group</title>
		<link>http://www.pmamediagroup.com/2009/04/tutorial-install-rspec-rails-factory-girl/comment-page-1/#comment-16</link>
		<dc:creator>How to Install Cucumber &#124; PMA Media Group</dc:creator>
		<pubDate>Thu, 09 Apr 2009 17:32:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.pmamediagroup.com/?p=277#comment-16</guid>
		<description>[...] Cucumber and will mostly show you a quick way to get it working. A lot of material is borrowed from this tutorial on setting up RSpec and Factory Girl. It may be useful to look over first, but not [...]</description>
		<content:encoded><![CDATA[<p>[...] Cucumber and will mostly show you a quick way to get it working. A lot of material is borrowed from this tutorial on setting up RSpec and Factory Girl. It may be useful to look over first, but not [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/


Served from: www.pmamediagroup.com @ 2010-07-31 10:35:39 -->