-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adapting cucumber tests to sandbox API Impot Part case
- Loading branch information
1 parent
5398721
commit 684e8a2
Showing
6 changed files
with
19 additions
and
6 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
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Quand('je veux remplir une demande pour API Impot Particulier via le formulaire {string} en bac à sable') do |authorization_request_form_name| | ||
authorization_request_forms = AuthorizationRequestForm.where( | ||
name: authorization_request_form_name, | ||
authorization_request_class: AuthorizationRequest::APIImpotParticulierSandbox | ||
) | ||
|
||
raise "More than one form found for #{authorization_request_form_name} for API Impot Particulier" if authorization_request_forms.count > 1 | ||
|
||
visit new_authorization_request_form_path(form_uid: authorization_request_forms.first.uid) | ||
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