Skip to content

Commit

Permalink
fix rebase snafu
Browse files Browse the repository at this point in the history
Signed-off-by: Brenna Hewer-Darroch <[email protected]>
  • Loading branch information
Brenna Hewer-Darroch committed Mar 6, 2020
1 parent a2f0d34 commit d8f99da
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions inspec/a2-iam-legacy-integration/controls/legacy_access.rb
Original file line number Diff line number Diff line change
Expand Up @@ -194,15 +194,7 @@
end
end # try_every_http_verb

<<<<<<< HEAD
<<<<<<< HEAD:inspec/a2-api-integration/controls/authz_access_control.rb
shared_examples 'authz access control' do
=======
shared_examples 'iam access control (with v1 legacy policies)' do
>>>>>>> inspec: port authz_access_control to legacy_access:inspec/a2-iam-legacy-integration/controls/legacy_access.rb
=======
shared_examples 'iam access control with v1 legacy policies' do
>>>>>>> inspec: add legacy_access tests
describe '/apis/iam/v2/teams' do
let(:url) { '/apis/iam/v2/teams' }
let(:expect_403_response) { expect_403_for_admin_only_apis }
Expand All @@ -213,10 +205,7 @@
{
'id': "inspec_test_team-#{TIMESTAMP}",
'name': 'This team was created by inspec tests. DELETE ME.',
<<<<<<< HEAD:inspec/a2-api-integration/controls/authz_access_control.rb
=======
'projects': []
>>>>>>> inspec: port authz_access_control to legacy_access:inspec/a2-iam-legacy-integration/controls/legacy_access.rb
}
end

Expand Down Expand Up @@ -258,22 +247,13 @@
let(:test_id) { "inspec_test_user-#{TIMESTAMP}" }
let(:test_object) do
{
<<<<<<< HEAD:inspec/a2-api-integration/controls/authz_access_control.rb
'id': "inspec_test_team-#{Time.now.to_i}",
'name': 'This team was created by inspec tests but was modified. DELETE ME.',
=======
'name': test_id,
'id': test_id,
'password': 'chefautomate',
>>>>>>> inspec: port authz_access_control to legacy_access:inspec/a2-iam-legacy-integration/controls/legacy_access.rb
}
end

include_examples 'try_every_http_verb'
<<<<<<< HEAD:inspec/a2-api-integration/controls/authz_access_control.rb
# TODO (tc) Test AddUsers RemoveUsers once they are their own HTTP API endpoints.
=======
>>>>>>> inspec: port authz_access_control to legacy_access:inspec/a2-iam-legacy-integration/controls/legacy_access.rb
end

describe '/apis/iam/v2/tokens' do
Expand Down

0 comments on commit d8f99da

Please sign in to comment.