rspec-rails 2.14 compatibility fork for Rails 3.2 LTS

With Rails 3.2 LTS your RSpec 2 controller specs might fail with an error like this:

  undefined method `[]' for nil:NilClass


To fix this, use our compatibility fork of rspec-rails 2.14 Show snapshot .

You can switch to the fork by updating your Gemfile:

gem 'rspec-rails', :git => '', :branch => '2-14-lts'

Now run bundle update rspec-rails.

Henning Koch Almost 6 years ago