Most rspec related news are at:
Myron Marston and Andy Lindeman are RSpec’s new project leads 28 Nov 2012 | 10:16 pm
TL;DR Myron Marston is taking over leadership of the RSpec project, and will be the lead maintainer of the rspec-core, rspec-expectations, and rspec-mocks gems. Andy Lindeman is taking over as lead ...
rspec-2.12 is released 13 Nov 2012 | 09:37 am
rspec-2.12 is a minor release (per SemVer), which includes numerous enhancements and bug fixes. It is fully backward compatible with previous rspec-2 releases and is a recommended upgrade for all user...
More rspec related news:
RSpec 2, Sinatra and Mongoid example tonyamoyal.com 20 Jan 2011 | 04:39 am
I spent yesterday coding a very abbreviated version of an authentication service that uses Sinatra, Mongoid and RSpec 2. It took more than a couple hours because there are so many outdated code sample...
Rails 3.2 Controller Testing File Uploads using Rspec metachunk.com 7 Apr 2012 | 04:48 am
I needed to write a controller test that included a file attachment (the model uses Dragonfly). Below is how I structured the test. It took me a bit of googling to locate the exact syntax. The magic f...
We Ain’t Got No RSpec tabbed.co 24 Sep 2011 | 03:40 am
Four years ago I was doing the Rails Envy Podcast when we received a voicemail from a listener known as R. Elliot Mason. The instant I heard the voicemail I knew it was special. I also knew there was ...
Custom RSpec matchers for blocks, and the Ruby magic behind their inner workings vitobotta.com 25 Feb 2012 | 12:00 pm
In RSpec it is possible to define special custom matchers that enable us to test with a neat syntax what happens when some code is executed, while also helping reduce duplication. [[ This is a conten...
How to set up Cucumber and RSpec for a non-Rails project fablednet.posterous.com 31 May 2010 | 11:57 pm
Often times when we use Cucumber and RSpec (and by 'we' I refer to Rails developers, sorry for the narrow focus here), we use them from within a Rails environment. Here are some instructions on how t...
Kata String Calculator cxrlospxndo.blogspot.com 7 Mar 2012 | 04:08 pm
Tdd kata usando ruby y rspec Specs en osherove.com/tdd-kata-1
Spork, Rails 3, and rspec-rails play nice together blog.alastairdawson.com 12 Aug 2011 | 11:13 am
Getting the following error when starting up spork? Add the following to your Gemfile under test and make fix!
RSpec — common base specs benbiddington.wordpress.com 6 Nov 2010 | 11:37 am
Sometimes I am fond of creating inheritance chains for tests, which is easy in Java or C# say, but not quite as obvious in rspec. Define and register a base class It just needs to inherit from Spec:...
(My) Cucumber best practices and tips eggsonbread.com 7 Sep 2010 | 04:55 pm
After (My) RSpec best practices and tips, I’m happy to share my Cucumber best practices and tips! This article will help you organize, clarify and reduce the size of your cucumber scenarios. 1. Orga...
Speed up RSpec with set() eggsonbread.com 26 May 2010 | 07:33 pm
I enjoy using the let() method as it makes my specs easier to read and maintain than setting up instance variables in before(:each) blocks. The let() method can be used like this: My main concern was...