awspec 1.6.0 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/awspec/generator/spec/cloudwatch_alarm.rb +2 -0
- data/lib/awspec/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eed077890929747791c651ec850e49bb86cc01c5
|
4
|
+
data.tar.gz: 98cbb2b15a87e15a045ed7fa58928024cf6a0312
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f15bb29d18d6864d69318705aea35c1042271a81cc90db9e8a1ffe6e46a1bc4e52639308bb5bd1e138e19386dceaca1353a785eb60a199edf702845566637c41
|
7
|
+
data.tar.gz: 76c60ab1bbf7615dee36645d27608c6019644492dc3701b3cd9d48061208e82531ae213a95762ad7740dc0802454377cc3fd95c1779cdd21f3cfa56567405c41
|
@@ -26,7 +26,9 @@ describe cloudwatch_alarm('<%= alarm.alarm_name %>') do
|
|
26
26
|
its(:state_value) { should eq '<%= alarm.state_value %>' }
|
27
27
|
its(:statistic) { should eq '<%= alarm.statistic %>' }
|
28
28
|
its(:period) { should eq <%= alarm.period %> }
|
29
|
+
<%- if alarm.unit != nil -%>
|
29
30
|
its(:unit) { should eq '<%= alarm.unit %>' }
|
31
|
+
<% end -%>
|
30
32
|
its(:evaluation_periods) { should eq <%= alarm.evaluation_periods %> }
|
31
33
|
its(:datapoints_to_alarm) { should eq <%= alarm.datapoints_to_alarm %> }
|
32
34
|
its(:threshold) { should eq <%= alarm.threshold %> }
|
data/lib/awspec/version.rb
CHANGED