This post is not about devops, it's not about lean startups, it's not about web scale, it's...
I think this pattern is really useful not just for upgrading suites from Webrat, but really anywhere you have an...
This is now part of geordi. Please don't follow the instructions below, if you use geordi. Inspired by the...
When you have a program running in a hidden X screen (like with Xvfb for Selenium tests) you may want...
Note: While the solution in this card should still work, we prefer another solution now: Hide your Selenium browser window...
This note describes how to kick a user out of a Rails application after she hasn't requested an action...
This finally works: User.any_instance.should_receive(...) as does User.any_instance.stub(...) Note: You won't have RSpec 2.6 if you're still working...
API breakage ahoy. You need to either upgrade your Capybara or downgrade your selenium-webdriver gem. Alternatively, this could solve...
Sometimes you need a file of some size (possibly for testing purposes). On Linux, you can use dd to create...
When you generate a URL in a mailer view, ActionMailer will raise an error unless you previously configured it which...
These steps are now part of Spreewald. Since Capybara 0.4.1 a within scope will only look at the first element...
The step definition below allows you to write: Then I should see a link labeled "Foo" But I should not...
To test if you can connect to a host using password authentication and explicitly deny public key authentication:
Here is how to switch your Selenium to Chrome: Make sure you've got a recent version of chromedriver in...
If you stub a method or set expectations with should_receive these stubbed methods may also yield blocks. This is...
If you need Google Chrome to run in English, and your system locale is a non-English one, you have...
My RubyMine (and it seems like many other Java GUI applications) crashes the Compiz window decorator almost every time on...
Consider the following: describe '#something' do context 'with lots of required arguments' do it 'should work' do subject.something(:foo => 'foo...
If you encounter above mentioned failiure message after installing the ruby-debug gem then you have to explicitly require linecache...
When rendering a number, you want to pretty up the string coming from #to_s: Render 0.0 as 0
Because your examples should not change global state, you should not need to care about the order in which RSpec...
I encountered a bug in RSpec 1.x where stubbed class methods ("static methods") would not be unstubbed before the...
I pushed a new version of the Cucumber Factory gem. This new release lets you refer to a previously created...
geordi, our collection of awesome shell scripts, has been extended by three scripts to help you call RSpec or Cucumber...