Skip to content

Move remembered device feature specs to controller specs#7851

Merged
mitchellhenke merged 1 commit intomainfrom
mitchellhenke/refactor-remember-device-tests
Feb 17, 2023
Merged

Move remembered device feature specs to controller specs#7851
mitchellhenke merged 1 commit intomainfrom
mitchellhenke/refactor-remember-device-tests

Conversation

@mitchellhenke
Copy link
Contributor

@mitchellhenke mitchellhenke commented Feb 17, 2023

🛠 Summary of changes

In working on some re-authentication and remembered device things, these tests conflicted with the potential changes and seemed to be a candidate for converting to controller tests to improve test time. The behavior being tested relies on remembered device revocation, which is tested in other areas including the remember device shared example and the remember_device_cookie_spec. It seemed sufficient to test that remembered devices were revoked and rely on other tests to ensure that it operates as expected across different contexts.

changelog: Internal, Remember Device, Refactor tests to improve test runtime
@mitchellhenke mitchellhenke force-pushed the mitchellhenke/refactor-remember-device-tests branch from 57443f1 to 4005028 Compare February 17, 2023 17:43
Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

big fan, LGTM

@mitchellhenke mitchellhenke merged commit bde1260 into main Feb 17, 2023
@mitchellhenke mitchellhenke deleted the mitchellhenke/refactor-remember-device-tests branch February 17, 2023 20:41
@solipet solipet mentioned this pull request Feb 21, 2023
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

Successfully merging this pull request may close these issues.

2 participants