Skip to content

LG-10656: Start moving address_edited out of flow_session#9022

Merged
matthinz merged 4 commits intomainfrom
matthinz/10656-address-edited-flow-session
Aug 17, 2023
Merged

LG-10656: Start moving address_edited out of flow_session#9022
matthinz merged 4 commits intomainfrom
matthinz/10656-address-edited-flow-session

Conversation

@matthinz
Copy link
Contributor

🎫 Ticket

LG-10656

🛠 Summary of changes

Start moving address_edited from flow_session to idv_session. This is the first of two PRs, enabling writing to both locations and reading from either. After this is deployed, a subsequent PR will remove reads and writes to flow_session['address_edited']

@@ -0,0 +1,82 @@
require 'rails_helper'

RSpec.describe Idv::AddressController do
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We didn't have a controller spec for this previously, so I added an extremely minimal one.

Copy link
Contributor

@soniaconnolly soniaconnolly left a comment

Choose a reason for hiding this comment

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

LGTM

end
end

describe '#update' do
Copy link
Contributor

Choose a reason for hiding this comment

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

Recommend adding a spec for update logging an analytics event too. (Thank you for adding a controller spec! Maybe we can delete some things out of the feature spec?)

@matthinz matthinz merged commit 2d8aca7 into main Aug 17, 2023
@matthinz matthinz deleted the matthinz/10656-address-edited-flow-session branch August 17, 2023 20:05
matthinz added a commit that referenced this pull request Aug 23, 2023
matthinz added a commit that referenced this pull request Aug 24, 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