-
Notifications
You must be signed in to change notification settings - Fork 620
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
Refactor RSpec for AnnotateModels (3) - AnnotateModels.get_schema_info (with custom options) #732
Refactor RSpec for AnnotateModels (3) - AnnotateModels.get_schema_info (with custom options) #732
Conversation
I will refactor test cases of |
@reviewers |
Taking a look now. Good tip on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
end | ||
end | ||
|
||
context 'when "hide_default_column_types" is "skip"' do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewing this is interesting. I think there's a drift between test code and what we display in options from lib/annotate/parser.rb
* Structuralize RSpec test cases of AnnotateModels.get_schema_info (with custom options) * Replace expression expansion to plain text * Refactor RSpec test cases of AnnotateModels.get_schema_info (with custom options) * Change position of test cases
I refactored test cases of
AnnotateModels
with custom options.