has_calculated_fields 1.0.3.7 → 1.0.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fe42e86264da503a5735ff33ad72337d8ce94bb5282a1c4971983a8b9a32e030
|
|
4
|
+
data.tar.gz: 036c3d42cb5514e44d63a0af95176c35562f06118d0ecab261df73e322ab7637
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ba646c37722a97d9b92eb384022d68d6b3112a766abfa19d561bdbef0a6c02531041ec6288ca59019b3c4244150ff522e95ab1c4a8f4277d45c27ff6728bbb74
|
|
7
|
+
data.tar.gz: 554db6d1dab5b198f89b1231fca1ef7566ba15d250ee581c9c739662d741a5ebc259d84b6c0b1abcc5f7a26246c0eb4ae7a8b7c22ddb12c0a9cedcfc1e98eca6
|
|
@@ -41,7 +41,6 @@ describe HasCalculatedFields do
|
|
|
41
41
|
|
|
42
42
|
it "does not assign conditional when condition is matched" do
|
|
43
43
|
obj.name = "conditional name"
|
|
44
|
-
obj.random_attribute = "4"
|
|
45
44
|
|
|
46
45
|
expect { obj.save }.not_to change {
|
|
47
46
|
obj.calculated_conditional_if
|
|
@@ -60,6 +59,7 @@ describe HasCalculatedFields do
|
|
|
60
59
|
|
|
61
60
|
it "does not assign conditional when condition is matched" do
|
|
62
61
|
obj.name = "conditional name"
|
|
62
|
+
obj.random_attribute = "4"
|
|
63
63
|
|
|
64
64
|
expect { obj.save }.not_to change {
|
|
65
65
|
obj.calculated_conditional_unless
|