RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: rspec xFree Episodes x
Upgrading to Rails 4
Episode #415 – May 06, 2013 – 211 comments

Upgrading to Rails 4

With the release of Rails 4.0.0.rc1 it's time to try it out and report any bugs. Here I walk you through the steps to upgrade a Rails 3.2 application to Rails 4. (12 minutes)
How I Test
Episode #275 – Jul 18, 2011 – 137 comments

How I Test

Here I show how I would add tests to the password reset feature created in the previous episode. I use RSpec, Capybara, Factory Girl, and Guard to make request, model, and mailer specs. (15 minutes)
RSpec Matchers & Macros
Episode #157 – Apr 13, 2009 – 40 comments

RSpec Matchers & Macros

You can improve the readability and remove duplication in RSpec by adding matchers and macros. Learn how in this episode. (18 minutes)
Request Specs and Capybara
Episode #257 – Mar 14, 2011 – 54 comments

Request Specs and Capybara

Request specs in RSpec are a great way to ensure the entire application stack is working properly. Here I also show how to use capybara with integrated JavaScript testing using Selenium. (13 minutes)
Spork
Episode #285 – Sep 26, 2011 – 76 comments

Spork

Spork improves the loading time of your test suite by starting up your Rails application once in the background. Use it with Guard for the ultimate combo in fast feedback while doing TDD. (9 minutes)
Guard
Episode #264 – May 02, 2011 – 57 comments

Guard

Guard watches files and runs a command after a file is modified. This allows you to automatically run tests in the background, restart your development server, reload the browser, and more. (8 minutes)
New Gem with Bundler
Episode #245 – Dec 20, 2010 – 37 comments

New Gem with Bundler

Creating new gems is easy with the `bundle gem` command. In this episode I will walk you through how this works. (7 minutes)
Upgrading to Rails 3 Part 2
Episode #226 – Aug 09, 2010 – 48 comments

Upgrading to Rails 3 Part 2

Here we continue upgrading an application to Rails 3 by getting our specs up and running and going through the rails_upgrade plugin. (12 minutes)
Testing Controllers with RSpec
Episode #71 – Sep 17, 2007 – 59 comments

Testing Controllers with RSpec

Controllers are tricky to test, and there's no perfect way to do it. In this episode you will see how I test controllers, and my reasoning behind it. (11 minutes)
Pickle with Cucumber
Episode #186 – Nov 02, 2009 – 67 comments

Pickle with Cucumber

Pickle adds many convenient Cucumber steps for generating models. Also learn about table diffs in this episode. (16 minutes)