Skip to content

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

Merged
merged 2 commits into from
Mar 25, 2020
Merged

Update docs for rspec-rails 4 #2297

merged 2 commits into from
Mar 25, 2020

Conversation

JonRowe
Copy link
Member

@JonRowe JonRowe commented Mar 24, 2020

When publishing the cukes I found this, there might be more...

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

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

Copy link
Member

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'

Copy link
Member Author

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 😂

Copy link
Member

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.

Copy link
Member

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?

Copy link
Member

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.

Copy link
Member

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.

Copy link
Member Author

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.

Copy link
Member

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 👍

@benoittgt
Copy link
Member

Also the description of the github repo could be changed: "RSpec for Rails-3+"

@JonRowe JonRowe merged commit ddbe67d into master Mar 25, 2020
@JonRowe JonRowe deleted the update-docs-for-rails-4 branch March 25, 2020 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants