Skip to content
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

Typo in RSpec Matchers #359

Closed
hernanat opened this issue Jul 7, 2017 · 2 comments
Closed

Typo in RSpec Matchers #359

hernanat opened this issue Jul 7, 2017 · 2 comments

Comments

@hernanat
Copy link
Contributor

hernanat commented Jul 7, 2017

in audited/lib/audited/rspec_matchers.rb, I believe line 120:

expects "non audited columns (#{model_class.non_audited_columns.inspect}) to match (#{expect})"

should be

expects "non audited columns (#{model_class.non_audited_columns.inspect}) to match (#{except})"

Error I've been receiving:

undefined local variable or method 'expect' for <Audited::RspecMatchers::AuditMatcher:0x007f8627d6ae48>
@hernanat
Copy link
Contributor Author

hernanat commented Jul 7, 2017

opened PR here: #360

@hernanat
Copy link
Contributor Author

hernanat commented Dec 5, 2017

resolved in #360

@hernanat hernanat closed this as completed Dec 5, 2017
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

No branches or pull requests

1 participant