-
Notifications
You must be signed in to change notification settings - Fork 66
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
move mobile cassettes to root spec folder #12847
Conversation
Generated by 🚫 Danger |
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.
lint fix demanded by rubocop
@@ -8,7 +8,7 @@ module MessagingClientHelper | |||
|
|||
def authenticated_client | |||
Mobile::V0::Messaging::Client.new(session: { user_id: 123, | |||
expires_at: Time.current + 60 * 60, | |||
expires_at: Time.current + (60 * 60), |
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.
lint fix demanded by rubocop
I'm going to request another exception to the LOC limit as all changes are identical. |
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.
Love it. LGTM. Makes sense to have helpers in a helpers folder
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.
Awesome! Looks like you won the lines of code changed award this year. Obviously this will create some merge conflicts with open PRs but we've gotta pull off the bandaid eventually.
Bypassed the LOC check because of the nature of the changes -- all just moving cassettes and removing unneeded setup |
* move mobile cassettes to root * lint fix
Summary
We currently have our vcr cassettes in the mobile module of vets api. We are the only team that does this, and it requires boilerplate setting/unsetting of the cassette directory any time we have a test that uses cassettes. We already have permission to skip needing other team approval for writing to vets-api/spec/support/vcr_cassettes/mobile so this ticket is to move all of our cassettes to that directly and remove the boilerplate code
Related issue(s)
department-of-veterans-affairs/va-mobile-app#5713
Testing done
specs
Screenshots
Note: Optional
What areas of the site does it impact?
(Describe what parts of the site are impacted andifcode touched other areas)
Acceptance criteria
Requested Feedback
(OPTIONAL)What should the reviewers know in addition to the above. Is there anything specific you wish the reviewer to assist with. Do you have any concerns with this PR, why?