jonleighton/focused_controller — pull request #28 by injekt (2013-06-05 16:53:00+00:00)
Title: Add Rails::VERSION module to test monkey-patches

rspec-rails (or more specifically RailsExampleGroup) expects the
new Rails::VERSION module to exist. We could restrict the rspec-rails
version but that's probably asking for more problems in the long
run.

Before this commit, tests using rspec-rails 2.13.x failed with:

/gems/rspec-rails-2.13.2/lib/rspec/rails/example/rails_example_group.rb:10:in
`': uninitialized constant Rails::VERSION (NameError)