Merge remote-tracking branch 'parent/main' into upstream-20240822
This commit is contained in:
commit
55f11765ea
34 changed files with 401 additions and 601 deletions
|
@ -18,6 +18,7 @@ describe 'Instances' do
|
|||
expect(body_as_json)
|
||||
.to be_present
|
||||
.and include(title: 'Mastodon')
|
||||
.and include_api_versions
|
||||
.and include_configuration_limits
|
||||
end
|
||||
end
|
||||
|
@ -32,6 +33,7 @@ describe 'Instances' do
|
|||
expect(body_as_json)
|
||||
.to be_present
|
||||
.and include(title: 'Mastodon')
|
||||
.and include_api_versions
|
||||
.and include_configuration_limits
|
||||
end
|
||||
end
|
||||
|
@ -53,5 +55,13 @@ describe 'Instances' do
|
|||
)
|
||||
)
|
||||
end
|
||||
|
||||
def include_api_versions
|
||||
include(
|
||||
api_versions: include(
|
||||
mastodon: anything
|
||||
)
|
||||
)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue