<?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: Understanding RSpec Stories - a Tutorial</title>
	<atom:link href="http://blog.emson.co.uk/2008/06/understanding-rspec-stories-a-tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.emson.co.uk/2008/06/understanding-rspec-stories-a-tutorial/</link>
	<description></description>
	<pubDate>Mon, 01 Dec 2008 20:35:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Ben Emson</title>
		<link>http://blog.emson.co.uk/2008/06/understanding-rspec-stories-a-tutorial/#comment-1445</link>
		<dc:creator>Ben Emson</dc:creator>
		<pubDate>Fri, 17 Oct 2008 21:18:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.emson.co.uk/2008/06/understanding-rspec-stories-a-tutorial/#comment-1445</guid>
		<description>&lt;p&gt;Thanks Carl,  I've been looking at writing a Cucumber example but have been quite busy.&lt;/p&gt;

&lt;p&gt;Also you are correct the &lt;em&gt;account.rb&lt;/em&gt; should sit in a &lt;strong&gt;lib&lt;/strong&gt; folder, outside of the Stories directory.
If you look at how Rails integrates Stories, it loads up the library files using the Story helper.  This helper gets this reference from the config/environment.rb file.&lt;/p&gt;

&lt;p&gt;However my examples are pretty simple with only one library.  Therefore it is easier to understand if it is in the same directory.&lt;/p&gt;

&lt;p&gt;Good luck,
Ben Emson...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks Carl,  I&#8217;ve been looking at writing a Cucumber example but have been quite busy.</p>

<p>Also you are correct the <em>account.rb</em> should sit in a <strong>lib</strong> folder, outside of the Stories directory.
If you look at how Rails integrates Stories, it loads up the library files using the Story helper.  This helper gets this reference from the config/environment.rb file.</p>

<p>However my examples are pretty simple with only one library.  Therefore it is easier to understand if it is in the same directory.</p>

<p>Good luck,
Ben Emson&#8230;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Carl G</title>
		<link>http://blog.emson.co.uk/2008/06/understanding-rspec-stories-a-tutorial/#comment-1441</link>
		<dc:creator>Carl G</dc:creator>
		<pubDate>Fri, 17 Oct 2008 17:35:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.emson.co.uk/2008/06/understanding-rspec-stories-a-tutorial/#comment-1441</guid>
		<description>&lt;p&gt;First THANK YOU! I was trying to learn Cucumber and there are no tutorials available so I will just use RSPEC until someone writes a decent one  - hmmm know anyone?&lt;/p&gt;

&lt;p&gt;This is trivial but in the example "if I interpret things correctly" this statement:
  require File.join(File.dirname(&lt;strong&gt;FILE&lt;/strong&gt;), "../account")
assumes that account.rb is in the story directory. Is that a best practice or would it be better placed in a lib folder somewhere?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>First THANK YOU! I was trying to learn Cucumber and there are no tutorials available so I will just use RSPEC until someone writes a decent one  - hmmm know anyone?</p>

<p>This is trivial but in the example &#8220;if I interpret things correctly&#8221; this statement:
  require File.join(File.dirname(<strong>FILE</strong>), &#8220;../account&#8221;)
assumes that account.rb is in the story directory. Is that a best practice or would it be better placed in a lib folder somewhere?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: decodeURI &#187; RSpec Link Fest!</title>
		<link>http://blog.emson.co.uk/2008/06/understanding-rspec-stories-a-tutorial/#comment-1154</link>
		<dc:creator>decodeURI &#187; RSpec Link Fest!</dc:creator>
		<pubDate>Thu, 02 Oct 2008 14:28:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.emson.co.uk/2008/06/understanding-rspec-stories-a-tutorial/#comment-1154</guid>
		<description>&lt;p&gt;[...] Understanding RSpec stories, a tutorial [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Understanding RSpec stories, a tutorial [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitry Kandalov</title>
		<link>http://blog.emson.co.uk/2008/06/understanding-rspec-stories-a-tutorial/#comment-824</link>
		<dc:creator>Dmitry Kandalov</dc:creator>
		<pubDate>Thu, 11 Sep 2008 12:27:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.emson.co.uk/2008/06/understanding-rspec-stories-a-tutorial/#comment-824</guid>
		<description>&lt;p&gt;Great article, it really helped me to get started with stories. Thanks!&lt;/p&gt;

&lt;p&gt;I had a minor problem with Account class, though, which should probably be initialized like this:&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;&lt;code&gt;def initialize(amount)
    @balance = amount.to_f
end
&lt;/code&gt;&lt;/pre&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Great article, it really helped me to get started with stories. Thanks!</p>

<p>I had a minor problem with Account class, though, which should probably be initialized like this:</p>

<p><pre><code>def initialize(amount)
    @balance = amount.to_f
end
</code></pre></p>]]></content:encoded>
	</item>
	<item>
		<title>By: Thierry B.</title>
		<link>http://blog.emson.co.uk/2008/06/understanding-rspec-stories-a-tutorial/#comment-507</link>
		<dc:creator>Thierry B.</dc:creator>
		<pubDate>Fri, 22 Aug 2008 16:16:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.emson.co.uk/2008/06/understanding-rspec-stories-a-tutorial/#comment-507</guid>
		<description>&lt;p&gt;Oli Young, thank you for your rake tasks. Very useful. I suggest that you propose a patch to the RSpec team&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Oli Young, thank you for your rake tasks. Very useful. I suggest that you propose a patch to the RSpec team</p>]]></content:encoded>
	</item>
	<item>
		<title>By: oli young</title>
		<link>http://blog.emson.co.uk/2008/06/understanding-rspec-stories-a-tutorial/#comment-410</link>
		<dc:creator>oli young</dc:creator>
		<pubDate>Thu, 14 Aug 2008 23:58:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.emson.co.uk/2008/06/understanding-rspec-stories-a-tutorial/#comment-410</guid>
		<description>&lt;p&gt;hey great article, really helped to get my head around the love that is story runner.&lt;/p&gt;

&lt;p&gt;I took some of your code and wrote some rake tasks to make it even simpler, all you need to do is create the stories/foo_story.txt and run the scaffolding, and it'll go ahead and pull out the steps and create a runner file&lt;/p&gt;

&lt;p&gt;http://gist.github.com/5516&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>hey great article, really helped to get my head around the love that is story runner.</p>

<p>I took some of your code and wrote some rake tasks to make it even simpler, all you need to do is create the stories/foo_story.txt and run the scaffolding, and it&#8217;ll go ahead and pull out the steps and create a runner file</p>

<p><a href="http://gist.github.com/5516" rel="nofollow">http://gist.github.com/5516</a></p>]]></content:encoded>
	</item>
	<item>
		<title>By: Emson&#8230; &#187; Blog Archive &#187; An Almost Fix for Creating RubyGems on Windows</title>
		<link>http://blog.emson.co.uk/2008/06/understanding-rspec-stories-a-tutorial/#comment-18</link>
		<dc:creator>Emson&#8230; &#187; Blog Archive &#187; An Almost Fix for Creating RubyGems on Windows</dc:creator>
		<pubDate>Wed, 25 Jun 2008 14:34:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.emson.co.uk/2008/06/understanding-rspec-stories-a-tutorial/#comment-18</guid>
		<description>&lt;p&gt;[...] you want to add RSpec Stories to this project there is a useful command-line generator to do this. First navigate into the root [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] you want to add RSpec Stories to this project there is a useful command-line generator to do this. First navigate into the root [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Berry</title>
		<link>http://blog.emson.co.uk/2008/06/understanding-rspec-stories-a-tutorial/#comment-17</link>
		<dc:creator>Eric Berry</dc:creator>
		<pubDate>Mon, 23 Jun 2008 20:37:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.emson.co.uk/2008/06/understanding-rspec-stories-a-tutorial/#comment-17</guid>
		<description>&lt;p&gt;Great article!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Great article!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: David Chelimsky</title>
		<link>http://blog.emson.co.uk/2008/06/understanding-rspec-stories-a-tutorial/#comment-16</link>
		<dc:creator>David Chelimsky</dc:creator>
		<pubDate>Fri, 20 Jun 2008 14:39:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.emson.co.uk/2008/06/understanding-rspec-stories-a-tutorial/#comment-16</guid>
		<description>&lt;p&gt;@James B. Byrne - RSpec was originally authored by Steven Baker. Dave Astels joined the team soon after. I joined the team some months later.&lt;/p&gt;

&lt;p&gt;What's there now looks very little like what was there when I joined the team, but it has been a pretty significant community effort to get there. Check out our contributor page: http://rspec.info/community/&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@James B. Byrne - RSpec was originally authored by Steven Baker. Dave Astels joined the team soon after. I joined the team some months later.</p>

<p>What&#8217;s there now looks very little like what was there when I joined the team, but it has been a pretty significant community effort to get there. Check out our contributor page: <a href="http://rspec.info/community/" rel="nofollow">http://rspec.info/community/</a></p>]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2008-06-18 &#171; Mike Does Tech</title>
		<link>http://blog.emson.co.uk/2008/06/understanding-rspec-stories-a-tutorial/#comment-14</link>
		<dc:creator>links for 2008-06-18 &#171; Mike Does Tech</dc:creator>
		<pubDate>Wed, 18 Jun 2008 00:34:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.emson.co.uk/2008/06/understanding-rspec-stories-a-tutorial/#comment-14</guid>
		<description>&lt;p&gt;[...] Emson… » Blog Archive » Understanding RSpec Stories - a Tutorial (tags: rspec stories bdd) [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Emson… » Blog Archive » Understanding RSpec Stories - a Tutorial (tags: rspec stories bdd) [...]</p>]]></content:encoded>
	</item>
</channel>
</rss>
