<?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>Nomadicoder &#187; rspec</title>
	<atom:link href="http://nomadicoder.com/tag/rspec/feed/" rel="self" type="application/rss+xml" />
	<link>http://nomadicoder.com</link>
	<description>Coding wherever I happen to be</description>
	<lastBuildDate>Tue, 01 Mar 2011 16:43:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>RSpec test code extracted from Sinatra Ruby</title>
		<link>http://nomadicoder.com/2010/07/09/rspec-test-code-extracted-from-sinatra-ruby/</link>
		<comments>http://nomadicoder.com/2010/07/09/rspec-test-code-extracted-from-sinatra-ruby/#comments</comments>
		<pubDate>Fri, 09 Jul 2010 18:00:16 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[rspec]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Sinatra]]></category>

		<guid isPermaLink="false">http://nomadicoder.com/2010/07/09/rspec-test-code-extracted-from-sinatra-ruby/</guid>
		<description><![CDATA[From: http://www.sinatrarb.com/testing.html#frameworks In app/hello_world.rb require 'sinatra' get '/' do "Hello World #{params[:name]}".strip end In app/spec/app_spec.rb require 'hello_world'require 'spec' require 'rack/test' set :environment, :test describe 'The HelloWorldApp' do include Rack::Test::Methods def app Sinatra::Application end it "says hello" do get '/' last_response.should &#8230; <a href="http://nomadicoder.com/2010/07/09/rspec-test-code-extracted-from-sinatra-ruby/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="posterous_autopost">
<p>From: <a href="http://www.sinatrarb.com/testing.html#frameworks">http://www.sinatrarb.com/testing.html#frameworks</a></p>
<p>In app/hello_world.rb</p>
<div class="CodeRay">
<div class="code">
<pre>
require 'sinatra'
get '/' do
  "Hello World #{params[:name]}".strip
end
</pre>
</div>
</div>
<p>In app/spec/app_spec.rb</p>
<div class="CodeRay">
<div class="code">
<pre>
require 'hello_world'require 'spec'
require 'rack/test'

set :environment, :test

describe 'The HelloWorldApp' do
  include Rack::Test::Methods

  def app
    Sinatra::Application
  end

  it "says hello" do
    get '/'
    last_response.should be_ok
    last_response.body.should == 'Hello World'
  end
end
</pre>
</div>
<p>To execute:</p>
<div class="CodeRay">
<div class="code">
<pre>$ spec spec -c</pre>
</div>
</div>
<p style="font-size: 10px;"><a href="http://posterous.com">Posted via email</a> from <a href="http://nomadicoder.posterous.com/rspec-test-code-extracted-from-sinatra-ruby">nomadicoder&#8217;s posterous</a></p>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://nomadicoder.com/2010/07/09/rspec-test-code-extracted-from-sinatra-ruby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick RVM Rubinius 1.0.0 Install Recipe</title>
		<link>http://nomadicoder.com/2010/05/25/quick-rvm-rubinius-1-0-0-install-recipe/</link>
		<comments>http://nomadicoder.com/2010/05/25/quick-rvm-rubinius-1-0-0-install-recipe/#comments</comments>
		<pubDate>Tue, 25 May 2010 18:54:42 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[cucumber]]></category>
		<category><![CDATA[rspec]]></category>
		<category><![CDATA[rubinius]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[RVM]]></category>

		<guid isPermaLink="false">http://nomadicoder.com/2010/05/25/quick-rvm-rubinius-1-0-0-install-recipe/</guid>
		<description><![CDATA[Here are the quick and dirty commands I used to install Rubinius 1.0.0 with Rails, RSpec, and Sinatra in RVM on Mac OS X. So far I haven’t been able to get Cucumber to install. The problem has been fixed &#8230; <a href="http://nomadicoder.com/2010/05/25/quick-rvm-rubinius-1-0-0-install-recipe/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><span style="font-size: 12pt;">Here are the quick and dirty commands I used to install <a href="http://rubini.us/">Rubinius</a> <a href="http://rubini.us/about/one_point_oh">1.0.0</a> with <a href="http://rubyonrails.org/">Rails</a>, <a href="http://rspec.info/">RSpec</a>, and <a href="http://www.sinatrarb.com/">Sinatra</a> in <a href="http://rvm.beginrescueend.com/">RVM</a> on <a href="http://www.apple.com/macosx/">Mac OS X</a>.  <del datetime="2010-07-12T17:55:27+00:00">So far I haven’t been able to get <a href="http://wiki.github.com/aslakhellesoy/cucumber/">Cucumber</a> to install.</del></p>
<p> <em>The problem has been <a title="Gherkin under Rubinius 1.0.0 Fails To Build From &quot;gem install cucumber&quot;" href="http://github.com/aslakhellesoy/gherkin/issues/closed/#issue/64">fixed</a> with the <a title="Rubinius 1.0.1" href="http://rubini.us/about/one_point_one">1.0.1 release</a>.  I have added commands to install Cucumber support.</em></p>
<p></span></p>
<pre><code>
rvm install rbx
rvm rbx
gem update --system --no-ri --no-rdoc
gem update --no-ri --no-rdoc
gem install rails --no-ri --no-rdoc
gem install sqlite3-ruby --no-ri --no-rdoc
gem install rspec --no-ri --no-rdoc
gem install rspec-rails --no-ri --no-rdoc
gem install cucumber --no-ri --no-rdoc
gem install cucumber-rails --no-ri --no-rdoc
gem install sinatra --no-ri --no-rdoc
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://nomadicoder.com/2010/05/25/quick-rvm-rubinius-1-0-0-install-recipe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

