Last active
March 25, 2019 16:10
-
-
Save matthewrudy/8d3b86a99715f838e7d74a7829c890a3 to your computer and use it in GitHub Desktop.
Changes required to make rspec-rails work with Rails 6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this is what the errors looked like before | |
ActionView::Template::Error: | |
wrong number of arguments (given 2, expected 1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem 'pry' | |
- gem 'rspec-rails' | |
+ gem 'rspec-rails', github: 'rspec/rspec-rails', branch: '4-0-dev' | |
+ | |
+ # need to specify these explicitly | |
+ gem 'rspec-core', github: 'rspec/rspec-core' | |
+ gem 'rspec-expectations', github: 'rspec/rspec-expectations' | |
+ gem 'rspec-mocks', github: 'rspec/rspec-mocks' | |
+ gem 'rspec-support', github: 'rspec/rspec-support' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment