Created
May 10, 2022 14:56
-
-
Save biske/bc36e2bdc2506f30617be7c6b3c81fe2 to your computer and use it in GitHub Desktop.
data test
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
it 'responds with profile field data' do | |
send_request | |
expect(response_body).to include( | |
"id" => Integer, | |
"label" => params[:profile_field][:label], | |
"field_type" => params[:profile_field][:field_type], | |
"key" => params[:profile_field][:key], | |
"placeholder" => params[:profile_field][:placeholder], | |
"description" => params[:profile_field][:description], | |
"required" => false, | |
"hidden" => false, | |
"allow_null" => false, | |
"collect_from_signup" => false, | |
"collect_from_profile_edit" => false, | |
"display_on_profile_view" => false, | |
"display_on_directory_card" => false, | |
"created_at" => String, | |
"updated_at" => String, | |
"community_id" => community.id | |
) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment