We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When installed on clean project with RSpec 3.2, running tests raise an error
spec/i18n_spec.rb:4:in `<top (required)>': undefined method `describe' for main:Object (NoMethodError)
Changing describe to RSpec.describe in spec/i18n_spec.rb solves the problem.
describe
RSpec.describe
spec/i18n_spec.rb
The text was updated successfully, but these errors were encountered:
Does RSpec.describe work with rspec < 3.2? If so let's change it
Sorry, something went wrong.
I would think so, but have no env to check.
I found some extra explanation of the difference in both calls:
http://stackoverflow.com/questions/24747448/rspec-describe-vs-describe
I think you can safely assume RSpec.describe will work everywhere and is more safe to use.
2bee3dc
No branches or pull requests
When installed on clean project with RSpec 3.2, running tests raise an error
Changing
describe
toRSpec.describe
inspec/i18n_spec.rb
solves the problem.The text was updated successfully, but these errors were encountered: