Skip to content

Commit

Permalink
Fix lint violations
Browse files Browse the repository at this point in the history
  • Loading branch information
xjunior committed Dec 19, 2024
1 parent d3a05ea commit 5bf79c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion audiences/app/controllers/audiences/contexts_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def render_context(context)
json_setting = {
only: %i[match_all],
methods: %i[count],
include: { criteria: { only: %i[id groups], methods: %i[count] } }
include: { criteria: { only: %i[id groups], methods: %i[count] } },
}
extra_users = context.extra_users.as_json(only: Audiences.exposed_user_attributes)

Expand Down
3 changes: 2 additions & 1 deletion audiences/spec/controllers/contexts_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
attributes: "id,externalId,displayName,active,photos.type,photos.value",
filter: "(active eq true) and (externalId eq 123)",
})
.to_return(status: 200, body: { "Resources" => [{ "displayName" => "John Doe", "confidential" => "data", "externalId" => 123 }] }.to_json)
.to_return(status: 200, body: { "Resources" => [{ "displayName" => "John Doe", "confidential" => "data",
"externalId" => 123 }] }.to_json)

put :update, params: {
key: example_context.signed_key,
Expand Down

0 comments on commit 5bf79c9

Please sign in to comment.