Include error messages in API logs #2497
rspec_requests.yml
on: pull_request
RSpec Request Tests
3m 37s
Annotations
10 errors
RSpec Request Tests:
spec/requests/stash_api/datasets_controller_spec.rb#L721
StashApi::DatasetsController#show shows the private record for the owner
Failure/Error: expect(hsh['versionNumber']).to eq(2)
expected: 2
got: nil
(compared using ==)
|
RSpec Request Tests:
spec/requests/stash_api/datasets_controller_spec.rb#L709
StashApi::DatasetsController#show doesn't show the private record for superusers when using Authorzation Code Grant (3rd party user proxy)
Failure/Error: expect(hsh['versionNumber']).to eq(1) # only shows published one, not later one that isn't
expected: 1
got: nil
(compared using ==)
|
RSpec Request Tests:
spec/requests/stash_api/datasets_controller_spec.rb#L683
StashApi::DatasetsController#show shows a public record for a created indentifier/resource
Failure/Error: expect(hsh['versionNumber']).to eq(1)
expected: 1
got: nil
(compared using ==)
|
RSpec Request Tests:
spec/requests/stash_api/datasets_controller_spec.rb#L731
StashApi::DatasetsController#show shows the peer review URL when the dataset is in review status
Failure/Error: expect(hsh['sharingLink']).to match(/http/)
expected nil to match /http/
|
RSpec Request Tests:
spec/requests/stash_api/datasets_controller_spec.rb#L696
StashApi::DatasetsController#show shows the private record for superuser
Failure/Error: expect(hsh['versionNumber']).to eq(2)
expected: 2
got: nil
(compared using ==)
|
RSpec Request Tests:
spec/requests/stash_api/versions_controller_spec.rb#L65
StashApi::VersionsController#index shows all versions to the owner
Failure/Error: expect(response_code).to eq(200)
expected: 200
got: 404
(compared using ==)
|
RSpec Request Tests:
spec/requests/stash_api/versions_controller_spec.rb#L133
StashApi::VersionsController#index shows both versions to an admin for this journal
Failure/Error: expect(response_code).to eq(200)
expected: 200
got: 404
(compared using ==)
|
RSpec Request Tests:
spec/requests/stash_api/versions_controller_spec.rb#L53
StashApi::VersionsController#index shows all versions to a superuser
Failure/Error: expect(response_code).to eq(200)
expected: 200
got: 404
(compared using ==)
|
RSpec Request Tests:
spec/requests/stash_api/versions_controller_spec.rb#L115
StashApi::VersionsController#index shows both versions to an admin for this tenant
Failure/Error: expect(response_code).to eq(200)
expected: 200
got: 404
(compared using ==)
|
RSpec Request Tests:
spec/requests/stash_api/versions_controller_spec.rb#L84
StashApi::VersionsController#index shows only 1st version to a random user
Failure/Error: expect(response_code).to eq(200)
expected: 200
got: 404
(compared using ==)
|