-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Update docs for rspec-rails 4 #2297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
rspec-rails 3 supports Rails 3.x and 4.x. For earlier versions of Rails, you | ||
need [rspec-rails 1](https://github.com/dchelimsky/rspec-rails). For Rails 5.x, | ||
make sure you are using rspec-rails 3.5.0 or newer. | ||
rspec-rails 4 supports Rails 5.x and 6.x. For earlier versions of Rails, you |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Readme as well mentions decade-old Rails https://github.com/rspec/rspec-rails/blame/master/README.md#L11
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also in README:
**IMPORTANT** Note that rspec-rails 4.0 is still a release candidate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Note that rspec-rails 4.0 is still a pre release
gem 'rspec-rails', '~> 4.0.0.rc1'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You might want to update your master, thats gone 😂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
features/upgrade/README.md needs some cleanup:
With the release of Rails 4, new APIs have been exposed on
`ActiveRecord::Migration`. This allows RSpec to take advantage of these new
standard migration checks, mirroring behavior across the board.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lib/generators/rspec/integration/integration_generator.rb:
# Add a deprecation for this class, before rspec-rails 4, to use the
# `RequestGenerator` instead
drop the file completely?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
features/upgrade/README.md might need some additions, but I hope user-submitted ones. Frankly I lost track of what has been added and what needs to be tweaked before updating rspec-rails
on a project.
We should say goodbye to from_1x_to_2x.md
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's all I could find.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pirj would you mind tackling those in another PR? I'm going to merge this to get the build green.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll take care of it 👍
Also the description of the github repo could be changed: "RSpec for Rails-3+" |
When publishing the cukes I found this, there might be more...