Skip to content

Commit

Permalink
Merge pull request rspec#1305 from rspec/fix-generator-dep
Browse files Browse the repository at this point in the history
Add missing `require` to RSpec generator root
  • Loading branch information
JonRowe committed Feb 10, 2015
2 parents f4bf5ed + d40216e commit caf9d62
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Changelog.md
@@ -1,3 +1,10 @@
### Development

Bug Fixes:

* Add missing `require` to RSpec generator root fixing an issue where Rail's
autoload does not find it in some environments. (Aaron Kromer, #1305)

### 3.2.0 / 2015-02-03
[Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.1.0...v3.2.0)

Expand Down
1 change: 1 addition & 0 deletions lib/generators/rspec.rb
@@ -1,4 +1,5 @@
require 'rails/generators/named_base'
require 'rspec/rails/feature_check'

# Weirdly named generators namespace (should be `RSpec`) for compatability with
# rails loading.
Expand Down

0 comments on commit caf9d62

Please sign in to comment.