cm_quiz 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cm_quiz/review/get_ideas.rb +1 -1
- data/lib/cm_quiz/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: b599c3b730a0892670fc31a9158581871ac2477c
|
4
|
+
data.tar.gz: e14f8cf17e0904bc997ff1cf1a464e53835b7cc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fd3b20238409f23768b8cb4ec073caa6578d4233dc9e0a9ad0859a7084cee6901356eb4cd272f28ba1c737d9a63b9af1fba43c6d69f073de84a74ea86d3336e
|
7
|
+
data.tar.gz: 6fa9e4ebf1ae903f9f9415597372545d9006c722dd4b68aa5109bde39261dbc52e846cb945cf3e94cd15342f88bc856ab3bcde65b4f6e929cb64caec2f55aa82
|
@@ -39,7 +39,7 @@ module CmQuiz
|
|
39
39
|
expect(item['confidence']).to eq(idea_payload['confidence'])
|
40
40
|
average_score = (idea_payload['impact'] + idea_payload['ease'] + idea_payload['confidence'])/ 3.0
|
41
41
|
expect(item['average_score']).to be_within(0.1).of(average_score)
|
42
|
-
diff = Time.now - Time.
|
42
|
+
diff = Time.now - Time.at(item['created_at'])
|
43
43
|
expect(diff).to be <= VALID_TIME_DIFF
|
44
44
|
end
|
45
45
|
end
|
data/lib/cm_quiz/version.rb
CHANGED