<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>duck_punching &#187; rspec</title>
	<atom:link href="http://duckpunching.com/topics/rspec/feed" rel="self" type="application/rss+xml" />
	<link>http://duckpunching.com</link>
	<description>Ruby, Rails and tech. No ducks were harmed in the making of this blog.</description>
	<lastBuildDate>Thu, 24 Jun 2010 07:12:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>RSpec 2.0 rake tasks</title>
		<link>http://duckpunching.com/rspec-2-0-rake-tasks</link>
		<comments>http://duckpunching.com/rspec-2-0-rake-tasks#comments</comments>
		<pubDate>Thu, 24 Jun 2010 06:23:43 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[rspec]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[rake]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://duckpunching.com/?p=82</guid>
		<description><![CDATA[RSpec is going through a transition with a huge refactoring for version 2. It&#8217;s currently only in beta, but if you want to get the jump on things with RSpec 2.0 there are a few changes worth knowing to ease the upgrade path. The rake tasks have changed a little. There has been a namespace [...]]]></description>
			<content:encoded><![CDATA[<p>RSpec is going through a transition with a huge refactoring for version 2. It&#8217;s currently only in beta, but if you want to get the jump on things with RSpec 2.0 there are a few changes worth knowing to ease the upgrade path.</p>
<p>The rake tasks have changed a little. There has been a namespace change and consequently a filename change. This is what you need to get them working again.</p>
<p><script src="http://gist.github.com/451044.js"></script></p>
<p>Nothing difficult there, but tricky enough to need to go digging through the source, while the docs for this version are scarce.</p>
<p>A significant change is that you must now use a file named <strong>.rspec</strong> in the root of your project to declare the spec options. This file used to be named <strong>spec.opts</strong>. Previously you were able to add spec options in the rake task block as well as the spec.opts file. This change removes the possible duplication giving you only one way.</p>
<p>Oh yes, one more thing to note. The binary for RSpec 2.0 is now called <strong>rspec</strong>. That might save you some wasted time also.</p>
<p>I&#8217;ll post more tips as I come across them.</p>
<p>UPDATE: Added clarification about the old spec.opts file.</p>
]]></content:encoded>
			<wfw:commentRss>http://duckpunching.com/rspec-2-0-rake-tasks/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

