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
have(n).errors_on(:attr)
rspec/rspec-rails#1026
Technically it can be converted to:
model.valid? expect(model.errors[:attr].size).to eq(1)
However probably this is not what most users want. So Transpec should leave them and suggest using rspec-collection_matchers gem.
The text was updated successfully, but these errors were encountered:
17c12c8
No branches or pull requests
rspec/rspec-rails#1026
Technically it can be converted to:
However probably this is not what most users want. So Transpec should leave them and suggest using rspec-collection_matchers gem.
The text was updated successfully, but these errors were encountered: