<?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: Sinatra &#8211; RSpec integration without a patch.  With Examples</title>
	<atom:link href="http://www.gittr.com/index.php/archive/sinatra-rspec-integration-without-a-patch-with-examples/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gittr.com/index.php/archive/sinatra-rspec-integration-without-a-patch-with-examples/</link>
	<description>eval("eval(\"eval(\\\"puts 'a ruby weblog'\\\")\")")</description>
	<lastBuildDate>Mon, 30 Jan 2012 23:01:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: sitr.us &#183; How to use RSpec to describe a Sinatra application</title>
		<link>http://www.gittr.com/index.php/archive/sinatra-rspec-integration-without-a-patch-with-examples/comment-page-1/#comment-38</link>
		<dc:creator>sitr.us &#183; How to use RSpec to describe a Sinatra application</dc:creator>
		<pubDate>Wed, 30 Jul 2008 05:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.gittr.com/?p=23#comment-38</guid>
		<description>[...] turns out that RSpec takes a little bit of manual work to get going with Sinatra. I read a helpful article on gittr.com that pointed me in the right direction. The article advised me to add these lines to my spec [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] turns out that RSpec takes a little bit of manual work to get going with Sinatra. I read a helpful article on gittr.com that pointed me in the right direction. The article advised me to add these lines to my spec&nbsp;[&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cschneid</title>
		<link>http://www.gittr.com/index.php/archive/sinatra-rspec-integration-without-a-patch-with-examples/comment-page-1/#comment-6</link>
		<dc:creator>cschneid</dc:creator>
		<pubDate>Thu, 29 May 2008 13:16:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.gittr.com/?p=23#comment-6</guid>
		<description>You know, I tried it, and it didn&#039;t work.  I didn&#039;t dig much further than that though.</description>
		<content:encoded><![CDATA[<p>You know, I tried it, and it didn&#8217;t work.  I didn&#8217;t dig much further than that&nbsp;though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Tomayko</title>
		<link>http://www.gittr.com/index.php/archive/sinatra-rspec-integration-without-a-patch-with-examples/comment-page-1/#comment-5</link>
		<dc:creator>Ryan Tomayko</dc:creator>
		<pubDate>Thu, 29 May 2008 07:14:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.gittr.com/?p=23#comment-5</guid>
		<description>Good stuff. I personally prefer test/spec but rspec is requested every so often in #sinatra.

I&#039;m wondering: are the explicit @response references required with rspec for some reason? Everything gets forwarded to @response automatically with the built-in stuff. e.g., instead of:

&lt;code&gt;specify &quot;should render hello at /&quot; do
  get_it &#039;/&#039;
  @response.should be_ok
  @response.body.should == &quot;Hello&quot;
end&lt;/code&gt;

You should be able to:

&lt;code&gt;specify &quot;should render hello at /&quot; do
  get_it &#039;/&#039;
  should be_ok
  body.should == &quot;Hello&quot;
end&lt;/code&gt;

I think all of the plumbing to make that work is in &#039;sinatra/test/unit&#039; (or maybe &#039;sinatra/test/methods&#039;)...</description>
		<content:encoded><![CDATA[<p>Good stuff. I personally prefer test/spec but rspec is requested every so often in&nbsp;#sinatra.</p>
<p>I&#8217;m wondering: are the explicit @response references required with rspec for some reason? Everything gets forwarded to @response automatically with the built-in stuff. e.g., instead&nbsp;of:</p>
<p><code>specify "should render hello at /" do<br />
  get_it '/'<br />
  @response.should be_ok<br />
  @response.body.should == "Hello"<br />&nbsp;end</code></p>
<p>You should be able&nbsp;to:</p>
<p><code>specify "should render hello at /" do<br />
  get_it '/'<br />
  should be_ok<br />
  body.should == "Hello"<br />&nbsp;end</code></p>
<p>I think all of the plumbing to make that work is in &#8216;sinatra/test/unit&#8217; (or maybe&nbsp;&#8216;sinatra/test/methods&#8217;)&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

