Commit 078d49af authored by Stan Hu's avatar Stan Hu

Merge branch...

Merge branch '273723-spec-requests-api-graphql-project-terraform-states_spec-rb-49-fails' into 'master'

Resolve "spec/requests/api/graphql/project/terraform/states_spec.rb:49 fails"

See merge request gitlab-org/gitlab!46520
parents 452297ad 57bef2d3
......@@ -58,8 +58,8 @@ RSpec.describe 'query terraform states' do
expect(state.dig('lockedByUser', 'id')).to eq(terraform_state.locked_by_user.to_global_id.to_s)
expect(version['id']).to eq(latest_version.to_global_id.to_s)
expect(version['createdAt']).to eq(terraform_state.created_at.iso8601)
expect(version['updatedAt']).to eq(terraform_state.updated_at.iso8601)
expect(version['createdAt']).to eq(latest_version.created_at.iso8601)
expect(version['updatedAt']).to eq(latest_version.updated_at.iso8601)
expect(version.dig('createdByUser', 'id')).to eq(latest_version.created_by_user.to_global_id.to_s)
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment