<?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: Running Selenium RSpec tests for Rails 2.3.5</title>
	<atom:link href="http://saucelabs.com/blog/index.php/2010/02/running-selenium-tests-for-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://saucelabs.com/blog/index.php/2010/02/running-selenium-tests-for-rails/</link>
	<description></description>
	<lastBuildDate>Sat, 19 May 2012 03:57:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Jay</title>
		<link>http://saucelabs.com/blog/index.php/2010/02/running-selenium-tests-for-rails/comment-page-1/#comment-25413</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Wed, 04 Jan 2012 16:56:42 +0000</pubDate>
		<guid isPermaLink="false">http://saucelabs.com/blog/?p=349#comment-25413</guid>
		<description>Hi there,

I have followed the tutorial but am receiving a ECONNREFUSED error despite sauce saying that it is connected. Any ideas?

Stack overflow question below:
http://stackoverflow.com/questions/8730318/selenium-driven-testing-with-sauce-connect-failing-to-connect</description>
		<content:encoded><![CDATA[<p>Hi there,</p>
<p>I have followed the tutorial but am receiving a ECONNREFUSED error despite sauce saying that it is connected. Any ideas?</p>
<p>Stack overflow question below:<br />
<a href="http://stackoverflow.com/questions/8730318/selenium-driven-testing-with-sauce-connect-failing-to-connect" rel="nofollow">http://stackoverflow.com/questions/8730318/selenium-driven-testing-with-sauce-connect-failing-to-connect</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay</title>
		<link>http://saucelabs.com/blog/index.php/2010/02/running-selenium-tests-for-rails/comment-page-1/#comment-25412</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Wed, 04 Jan 2012 16:55:32 +0000</pubDate>
		<guid isPermaLink="false">http://saucelabs.com/blog/?p=349#comment-25412</guid>
		<description>Hi there,

I have been following your tutorial but am receiving the ECONNREFUSED error despite the sauce saying that it has been connected. Any ideas?

http://stackoverflow.com/questions/8730318/selenium-driven-testing-with-sauce-connect-failing-to-connect</description>
		<content:encoded><![CDATA[<p>Hi there,</p>
<p>I have been following your tutorial but am receiving the ECONNREFUSED error despite the sauce saying that it has been connected. Any ideas?</p>
<p><a href="http://stackoverflow.com/questions/8730318/selenium-driven-testing-with-sauce-connect-failing-to-connect" rel="nofollow">http://stackoverflow.com/questions/8730318/selenium-driven-testing-with-sauce-connect-failing-to-connect</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean Grove</title>
		<link>http://saucelabs.com/blog/index.php/2010/02/running-selenium-tests-for-rails/comment-page-1/#comment-6818</link>
		<dc:creator>Sean Grove</dc:creator>
		<pubDate>Fri, 11 Feb 2011 22:40:20 +0000</pubDate>
		<guid isPermaLink="false">http://saucelabs.com/blog/?p=349#comment-6818</guid>
		<description>Hey Matthew, sorry about the hugely delayed comment, I just saw it. I&#039;m glad to see you got everything working! Please let me know if there&#039;s anything I can help out with further!</description>
		<content:encoded><![CDATA[<p>Hey Matthew, sorry about the hugely delayed comment, I just saw it. I&#8217;m glad to see you got everything working! Please let me know if there&#8217;s anything I can help out with further!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: strawberry</title>
		<link>http://saucelabs.com/blog/index.php/2010/02/running-selenium-tests-for-rails/comment-page-1/#comment-6762</link>
		<dc:creator>strawberry</dc:creator>
		<pubDate>Wed, 09 Feb 2011 10:10:53 +0000</pubDate>
		<guid isPermaLink="false">http://saucelabs.com/blog/?p=349#comment-6762</guid>
		<description>Hello,

I use Selenium RC for testing with Ruby language in Mac OS. Right now,I try to run the script following command will get the error:
$spec file_name.rb
-bash: spec: command not found

Anything I need to install? Right now,I already install Ruby,Rspec,Rials and so on.

In my old computer,use &quot;spec&quot; to run the script is fine.

Any help will be very appreciate.

Thanks.

*** LOCAL GEMS ***

abstract (1.0.0)
actionmailer (2.3.8, 2.3.5, 2.2.2, 1.3.6)
actionpack (3.0.4, 2.3.8, 2.3.5, 2.2.2, 1.13.6)
actionwebservice (1.2.6)
activemodel (3.0.4)
activerecord (2.3.8, 2.3.5, 2.2.2, 1.15.6)
activeresource (2.3.8, 2.3.5, 2.2.2)
activesupport (3.0.4, 2.3.8, 2.3.5, 2.2.2, 1.4.4)
acts_as_ferret (0.4.3)
arel (2.0.7)
builder (2.1.2)
bundler (1.0.10)
capistrano (2.5.2)
cgi_multipart_eof_fix (2.5.0)
childprocess (0.1.6)
daemons (1.0.10)
diff-lcs (1.1.2)
dnssd (0.6.0)
erubis (2.6.6)
eventmachine (0.12.10)
fastthread (1.0.1)
fcgi (0.8.7)
ferret (0.11.6)
ffi (0.6.3)
gem_plugin (0.2.3)
highline (1.5.0)
hpricot (0.6.164)
i18n (0.5.0)
json_pure (1.5.1)
libxml-ruby (1.1.2)
mail (2.2.15)
mime-types (1.16)
mongrel (1.1.5)
must_be (1.0.3)
needle (1.3.0)
net-scp (1.0.1)
net-sftp (2.0.1, 1.1.1)
net-ssh (2.0.4, 1.1.4)
net-ssh-gateway (1.0.0)
polyglot (0.3.1)
rack (1.2.1, 1.1.0, 1.0.1)
rack-mount (0.6.13)
rack-test (0.5.7)
rails (2.3.8, 2.3.5, 2.2.2, 1.2.6)
railties (3.0.4)
rake (0.8.7, 0.8.3)
RedCloth (4.1.1)
rspec (2.5.0)
rspec-core (2.5.1)
rspec-expectations (2.5.0)
rspec-mocks (2.5.0)
rspec-rails (2.5.0)
ruby-openid (2.1.2)
ruby-yadis (0.3.4)
rubygems-update (1.5.0)
rubynode (0.1.5)
rubyzip (0.9.4)
Selenium (1.1.14)
selenium-client (1.2.18)
selenium-webdriver (0.1.2)
sqlite3-ruby (1.2.4)
termios (0.9.4)
thin (1.2.7)
thor (0.14.6)
treetop (1.4.9)
tzinfo (0.3.24)
xmpp4r (0.4)</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I use Selenium RC for testing with Ruby language in Mac OS. Right now,I try to run the script following command will get the error:<br />
$spec file_name.rb<br />
-bash: spec: command not found</p>
<p>Anything I need to install? Right now,I already install Ruby,Rspec,Rials and so on.</p>
<p>In my old computer,use &#8220;spec&#8221; to run the script is fine.</p>
<p>Any help will be very appreciate.</p>
<p>Thanks.</p>
<p>*** LOCAL GEMS ***</p>
<p>abstract (1.0.0)<br />
actionmailer (2.3.8, 2.3.5, 2.2.2, 1.3.6)<br />
actionpack (3.0.4, 2.3.8, 2.3.5, 2.2.2, 1.13.6)<br />
actionwebservice (1.2.6)<br />
activemodel (3.0.4)<br />
activerecord (2.3.8, 2.3.5, 2.2.2, 1.15.6)<br />
activeresource (2.3.8, 2.3.5, 2.2.2)<br />
activesupport (3.0.4, 2.3.8, 2.3.5, 2.2.2, 1.4.4)<br />
acts_as_ferret (0.4.3)<br />
arel (2.0.7)<br />
builder (2.1.2)<br />
bundler (1.0.10)<br />
capistrano (2.5.2)<br />
cgi_multipart_eof_fix (2.5.0)<br />
childprocess (0.1.6)<br />
daemons (1.0.10)<br />
diff-lcs (1.1.2)<br />
dnssd (0.6.0)<br />
erubis (2.6.6)<br />
eventmachine (0.12.10)<br />
fastthread (1.0.1)<br />
fcgi (0.8.7)<br />
ferret (0.11.6)<br />
ffi (0.6.3)<br />
gem_plugin (0.2.3)<br />
highline (1.5.0)<br />
hpricot (0.6.164)<br />
i18n (0.5.0)<br />
json_pure (1.5.1)<br />
libxml-ruby (1.1.2)<br />
mail (2.2.15)<br />
mime-types (1.16)<br />
mongrel (1.1.5)<br />
must_be (1.0.3)<br />
needle (1.3.0)<br />
net-scp (1.0.1)<br />
net-sftp (2.0.1, 1.1.1)<br />
net-ssh (2.0.4, 1.1.4)<br />
net-ssh-gateway (1.0.0)<br />
polyglot (0.3.1)<br />
rack (1.2.1, 1.1.0, 1.0.1)<br />
rack-mount (0.6.13)<br />
rack-test (0.5.7)<br />
rails (2.3.8, 2.3.5, 2.2.2, 1.2.6)<br />
railties (3.0.4)<br />
rake (0.8.7, 0.8.3)<br />
RedCloth (4.1.1)<br />
rspec (2.5.0)<br />
rspec-core (2.5.1)<br />
rspec-expectations (2.5.0)<br />
rspec-mocks (2.5.0)<br />
rspec-rails (2.5.0)<br />
ruby-openid (2.1.2)<br />
ruby-yadis (0.3.4)<br />
rubygems-update (1.5.0)<br />
rubynode (0.1.5)<br />
rubyzip (0.9.4)<br />
Selenium (1.1.14)<br />
selenium-client (1.2.18)<br />
selenium-webdriver (0.1.2)<br />
sqlite3-ruby (1.2.4)<br />
termios (0.9.4)<br />
thin (1.2.7)<br />
thor (0.14.6)<br />
treetop (1.4.9)<br />
tzinfo (0.3.24)<br />
xmpp4r (0.4)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew</title>
		<link>http://saucelabs.com/blog/index.php/2010/02/running-selenium-tests-for-rails/comment-page-1/#comment-4124</link>
		<dc:creator>Matthew</dc:creator>
		<pubDate>Sat, 04 Dec 2010 11:49:53 +0000</pubDate>
		<guid isPermaLink="false">http://saucelabs.com/blog/?p=349#comment-4124</guid>
		<description>Hi Sean. All good. turns out it was an issue with the selenium server installed by one of the gems. When I started it using the one I downloaded from http://seleniumhq.org/projects/remote-control/ it all worked nicely.

Cheers and thanks for the excellent tute!</description>
		<content:encoded><![CDATA[<p>Hi Sean. All good. turns out it was an issue with the selenium server installed by one of the gems. When I started it using the one I downloaded from <a href="http://seleniumhq.org/projects/remote-control/" rel="nofollow">http://seleniumhq.org/projects/remote-control/</a> it all worked nicely.</p>
<p>Cheers and thanks for the excellent tute!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew</title>
		<link>http://saucelabs.com/blog/index.php/2010/02/running-selenium-tests-for-rails/comment-page-1/#comment-4095</link>
		<dc:creator>Matthew</dc:creator>
		<pubDate>Thu, 02 Dec 2010 12:04:03 +0000</pubDate>
		<guid isPermaLink="false">http://saucelabs.com/blog/?p=349#comment-4095</guid>
		<description>Great article Sean 100% hit the nail on the head with what I was looking for... But....

I have followed your instructions to the letter and
I get a similar error

NoMethodError in &#039;People before(:all)&#039;
undefined method `closed?&#039; for nil:NilClass
./spec/integration/people_spec.rb:14:

line 14 is  &quot;@browser.start&quot;

I&#039;m running rails 2.3.8

I can write Rspec, Webrat and Cucumber tests okay but Boy, would I like to get selenium tests running with Rspec

I would really appreciate your help with this

Cheers</description>
		<content:encoded><![CDATA[<p>Great article Sean 100% hit the nail on the head with what I was looking for&#8230; But&#8230;.</p>
<p>I have followed your instructions to the letter and<br />
I get a similar error</p>
<p>NoMethodError in &#8216;People before(:all)&#8217;<br />
undefined method `closed?&#8217; for nil:NilClass<br />
./spec/integration/people_spec.rb:14:</p>
<p>line 14 is  &#8220;@browser.start&#8221;</p>
<p>I&#8217;m running rails 2.3.8</p>
<p>I can write Rspec, Webrat and Cucumber tests okay but Boy, would I like to get selenium tests running with Rspec</p>
<p>I would really appreciate your help with this</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean Grove</title>
		<link>http://saucelabs.com/blog/index.php/2010/02/running-selenium-tests-for-rails/comment-page-1/#comment-704</link>
		<dc:creator>Sean Grove</dc:creator>
		<pubDate>Tue, 30 Mar 2010 19:57:15 +0000</pubDate>
		<guid isPermaLink="false">http://saucelabs.com/blog/?p=349#comment-704</guid>
		<description>I&#039;m glad you like it Alok! If you have any questions on running SpecStorm, please feel free to post them on our forums at http://www.saucelabs.com/forums. I&#039;m more than happy to help others using it!</description>
		<content:encoded><![CDATA[<p>I&#8217;m glad you like it Alok! If you have any questions on running SpecStorm, please feel free to post them on our forums at <a href="http://www.saucelabs.com/forums" rel="nofollow">http://www.saucelabs.com/forums</a>. I&#8217;m more than happy to help others using it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alok Swain</title>
		<link>http://saucelabs.com/blog/index.php/2010/02/running-selenium-tests-for-rails/comment-page-1/#comment-691</link>
		<dc:creator>Alok Swain</dc:creator>
		<pubDate>Tue, 30 Mar 2010 10:06:51 +0000</pubDate>
		<guid isPermaLink="false">http://saucelabs.com/blog/?p=349#comment-691</guid>
		<description>Very nice Tutorial.
Its working fine. Now i gonna try specstorm.
Regards
Alok S
Consultant, Spritle Software.</description>
		<content:encoded><![CDATA[<p>Very nice Tutorial.<br />
Its working fine. Now i gonna try specstorm.<br />
Regards<br />
Alok S<br />
Consultant, Spritle Software.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean Grove</title>
		<link>http://saucelabs.com/blog/index.php/2010/02/running-selenium-tests-for-rails/comment-page-1/#comment-527</link>
		<dc:creator>Sean Grove</dc:creator>
		<pubDate>Wed, 10 Mar 2010 09:13:16 +0000</pubDate>
		<guid isPermaLink="false">http://saucelabs.com/blog/?p=349#comment-527</guid>
		<description>Hello Matt - there was an error on line 06 of of people_spec.rb. Check the updated source above. Instead of @selenium_driver, it should be @browser.

Thanks for catching that! Please let me know if that works for you, and if there&#039;s any other issue that comes up.

And good question about grafting tests onto pre-existing rails models. For RSpec unit tests where you&#039;re familiar with the inner-workings of the code, you&#039;ll want to add in tests for each of the methods of your models, and then move onto functional/integration tests. If you&#039;re new to the code, it often works better the other way around. Get a bird&#039;s-eye view of the code by looking at its function and verifying the application as a whole, and work your way into the nitty-gritty with unit tests.

It&#039;s an interesting question, I think I&#039;ll have to follow up with a few posts on that.</description>
		<content:encoded><![CDATA[<p>Hello Matt &#8211; there was an error on line 06 of of people_spec.rb. Check the updated source above. Instead of @selenium_driver, it should be @browser.</p>
<p>Thanks for catching that! Please let me know if that works for you, and if there&#8217;s any other issue that comes up.</p>
<p>And good question about grafting tests onto pre-existing rails models. For RSpec unit tests where you&#8217;re familiar with the inner-workings of the code, you&#8217;ll want to add in tests for each of the methods of your models, and then move onto functional/integration tests. If you&#8217;re new to the code, it often works better the other way around. Get a bird&#8217;s-eye view of the code by looking at its function and verifying the application as a whole, and work your way into the nitty-gritty with unit tests.</p>
<p>It&#8217;s an interesting question, I think I&#8217;ll have to follow up with a few posts on that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://saucelabs.com/blog/index.php/2010/02/running-selenium-tests-for-rails/comment-page-1/#comment-512</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Sun, 07 Mar 2010 21:57:27 +0000</pubDate>
		<guid isPermaLink="false">http://saucelabs.com/blog/?p=349#comment-512</guid>
		<description>Hi,

Thanks for this tutorial.  I&#039;m almost there, but I&#039;m getting this error when I try to run &#039;rake spec:integration&#039; 

1)
NoMethodError in &#039;People before(:all)&#039;
undefined method `start&#039; for nil:NilClass
/home/matt/Projects/rspec_saucerc/spec/integration/people_spec.rb:13:in `block (2 levels) in &#039;

Finished in 0.005840741 seconds

0 examples, 1 failure

I didn&#039;t do the generate/plugin step.  Instead I just did &#039;gem install selenium-rails&#039;.  Here is my list of installed gems:

actionmailer (2.3.5)
actionpack (2.3.5)
activerecord (2.3.5)
activeresource (2.3.5)
activesupport (2.3.5)
gemcutter (0.5.0)
hoe (2.5.0)
json_pure (1.2.2)
mocha (0.9.8)
mysql (2.8.1)
rack (1.1.0, 1.0.1)
rails (2.3.5)
rake (0.8.7)
RedCloth (4.2.3)
rspec (1.3.0)
rspec-rails (1.3.2)
rubyforge (2.0.4)
rubygems-update (1.3.6)
Selenium (1.1.14)
selenium-client (1.2.18)
selenium-rails (0.0.3)
sqlite3-ruby (1.2.5)
test-unit (1.2.3)

Sorry if I&#039;m missing something obvious.  I&#039;m still getting started with all this.  Also, if I already have several models, controllers, views, etc. created using the normal rails scaffold, what is the best approach to go back and add rspec tests?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for this tutorial.  I&#8217;m almost there, but I&#8217;m getting this error when I try to run &#8216;rake spec:integration&#8217; </p>
<p>1)<br />
NoMethodError in &#8216;People before(:all)&#8217;<br />
undefined method `start&#8217; for nil:NilClass<br />
/home/matt/Projects/rspec_saucerc/spec/integration/people_spec.rb:13:in `block (2 levels) in &#8216;</p>
<p>Finished in 0.005840741 seconds</p>
<p>0 examples, 1 failure</p>
<p>I didn&#8217;t do the generate/plugin step.  Instead I just did &#8216;gem install selenium-rails&#8217;.  Here is my list of installed gems:</p>
<p>actionmailer (2.3.5)<br />
actionpack (2.3.5)<br />
activerecord (2.3.5)<br />
activeresource (2.3.5)<br />
activesupport (2.3.5)<br />
gemcutter (0.5.0)<br />
hoe (2.5.0)<br />
json_pure (1.2.2)<br />
mocha (0.9.8)<br />
mysql (2.8.1)<br />
rack (1.1.0, 1.0.1)<br />
rails (2.3.5)<br />
rake (0.8.7)<br />
RedCloth (4.2.3)<br />
rspec (1.3.0)<br />
rspec-rails (1.3.2)<br />
rubyforge (2.0.4)<br />
rubygems-update (1.3.6)<br />
Selenium (1.1.14)<br />
selenium-client (1.2.18)<br />
selenium-rails (0.0.3)<br />
sqlite3-ruby (1.2.5)<br />
test-unit (1.2.3)</p>
<p>Sorry if I&#8217;m missing something obvious.  I&#8217;m still getting started with all this.  Also, if I already have several models, controllers, views, etc. created using the normal rails scaffold, what is the best approach to go back and add rspec tests?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

