-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
send original pivot identity to hubee
- Loading branch information
1 parent
0a6a312
commit dbe0987
Showing
10 changed files
with
93 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
class Current < ActiveSupport::CurrentAttributes | ||
attribute :pivot_identity, | ||
:original_pivot_identity, | ||
:quotient_familial, | ||
:collectivity, | ||
:user, | ||
:external_id, | ||
:redirect_uri | ||
:original_pivot_identity, | ||
:quotient_familial, | ||
:collectivity, | ||
:user, | ||
:external_id, | ||
:redirect_uri | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
FactoryBot.define do | ||
factory :france_connect_payload, class: Hash do | ||
factory :original_pivot_identity, class: Hash do | ||
initialize_with { attributes.deep_stringify_keys } | ||
|
||
sub { "some_sub" } | ||
family_name { "TESTMAN" } | ||
given_name { "Johnny Paul René" } | ||
gender { "male" } | ||
birthdate { "1989-10-08" } | ||
birthplace { "75107" } | ||
birthcountry { "99100" } | ||
|
||
factory :france_connect_payload, class: Hash do | ||
sub { "some_sub" } | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters