Skip to content

Commit b780f95

Browse files
committed
fixes rspec tests
1 parent 86302bc commit b780f95

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

spec/version_consistency_spec.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,6 @@
6666
expect(resource["Properties"]["ManagedPolicyArns"]).to eq(["arn:aws:iam::aws:policy/service-role/AmazonECSTaskExecutionRolePolicy"])
6767
end
6868

69-
it "to have property Policies" do
70-
expect(resource["Properties"]["Policies"]).to eq([])
71-
end
72-
7369
end
7470

7571
context "Task" do

tests/version_consistency.test.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
test_metadata:
22
type: config
3-
name: consistency
3+
name: version_consistency
44
description: VersionConsistency property
55

66
# Insert your tests here
@@ -18,4 +18,9 @@ targetgroup:
1818
listener: http
1919
healthcheck:
2020
path: /
21-
code: 200
21+
code: 200
22+
23+
iam_policies:
24+
s3:
25+
action:
26+
- s3:Get*

0 commit comments

Comments
 (0)