Skip to content

Commit

Permalink
Fix specs
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalie committed Dec 29, 2022
1 parent a92e03a commit 8e0c0bc
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ GEM
rb-fsevent (0.9.8)
rb-inotify (0.10.1)
ffi (~> 1.0)
rbtrace (0.4.12)
rbtrace (0.4.14)
ffi (>= 1.0.6)
msgpack (>= 0.4.3)
optimist (>= 3.0.0)
Expand Down
1 change: 1 addition & 0 deletions spec/v3/services/installation/find_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
"@type" => "allowance",
"id" => 1
},
"custom_keys" => [],
"allow_migration" => false,
"recently_signed_up" => false,
"secure_user_hash" => nil,
Expand Down
6 changes: 4 additions & 2 deletions spec/v3/services/organization/find_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"@type" => "allowance",
"@representation" => "minimal",
"id" => org.id
}
},
"custom_keys" => []
}}
end

Expand Down Expand Up @@ -63,7 +64,8 @@
"@type" => "allowance",
"@representation" => "minimal",
"id" => org.id
}
},
"custom_keys" => []
}}
end

Expand Down
3 changes: 2 additions & 1 deletion spec/v3/services/organizations/for_current_user_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@
"@type" => "allowance",
"@representation" => "minimal",
"id" => org.id
}
},
"custom_keys" => []
}]
}}
end
Expand Down
15 changes: 12 additions & 3 deletions spec/v3/services/owner/find_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"@type" => "allowance",
"@representation" => "minimal",
"id" => org.id
}
},
"custom_keys" => []
}}
end

Expand All @@ -54,7 +55,8 @@
"@type" => "allowance",
"@representation" => "minimal",
"id" => org.id
}
},
"custom_keys" => []
}}
end

Expand Down Expand Up @@ -86,6 +88,7 @@
"@representation" => "minimal",
"id" => org.id
},
"custom_keys" => [],
"repositories" => [{
"@type" => "repository",
"@href" => "/v3/repo/#{repo.id}",
Expand Down Expand Up @@ -232,7 +235,8 @@
"@type" => "allowance",
"@representation" => "minimal",
"id" => org.id
}
},
"custom_keys" => []
}}
end

Expand Down Expand Up @@ -263,6 +267,7 @@
"@representation" => "minimal",
"id" => org.id
},
"custom_keys" => [],
"@warnings" => [{
"@type" => "warning",
"message" => "query parameter organization.id not safelisted, ignored",
Expand Down Expand Up @@ -302,6 +307,7 @@
"@representation" => "minimal",
"id" => user.id
},
"custom_keys" => [],
"recently_signed_up"=>false,
"secure_user_hash" => nil,
"ro_mode" => false,
Expand Down Expand Up @@ -334,6 +340,7 @@
"@representation" => "minimal",
"id" => user.id
},
"custom_keys" => [],
"recently_signed_up"=>false,
"secure_user_hash" => nil,
"ro_mode" => false,
Expand Down Expand Up @@ -366,6 +373,7 @@
"@representation" => "minimal",
"id" => user.id
},
"custom_keys" => [],
"recently_signed_up"=>false,
"secure_user_hash" => nil,
"ro_mode" => false,
Expand Down Expand Up @@ -402,6 +410,7 @@
"@representation" => "minimal",
"id" => user.id
},
"custom_keys" => [],
"recently_signed_up"=>false,
"secure_user_hash" => nil,
"ro_mode" => false,
Expand Down
1 change: 1 addition & 0 deletions spec/v3/services/user/find_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"@representation" => "minimal",
"id" => user.id
},
"custom_keys" => [],
"recently_signed_up"=>false,
"secure_user_hash" => nil,
"ro_mode" => false,
Expand Down
1 change: 1 addition & 0 deletions spec/v3/services/v2_subscription/executions_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@
"@representation"=>"minimal",
"id"=>1
},
"custom_keys" => [],
"email"=>"[email protected]",
"is_syncing"=>nil,
"synced_at"=>nil,
Expand Down

0 comments on commit 8e0c0bc

Please sign in to comment.