compatriot 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/compatriot.rb +1 -1
- data/lib/compatriot/version.rb +1 -1
- data/spec/unit/report_spec.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c679503194671c201eedbdd42419d1cd838ff9e1
|
4
|
+
data.tar.gz: d98c18230b4dcb22f1d9e7fc5a1e609ee9d3b356
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a6de3a5cca25b8251c4ca1e2d5e2b045e81bdbb37dcd0119796988f3dfab4cce8e9b45f8752a2e438833982dd1304b3bc0864d14aae6d68cf5801cd90766305
|
7
|
+
data.tar.gz: c776231462be785e72b1275dadeb973bc577a39fb365fdb2f825625d7c2252647d72fd405d48d010c46aa003837f1771d22cf535e924d895079b22a709f71436
|
data/lib/compatriot.rb
CHANGED
data/lib/compatriot/version.rb
CHANGED
data/spec/unit/report_spec.rb
CHANGED
@@ -41,9 +41,9 @@ describe Compatriot::Reporter do
|
|
41
41
|
compatriot_percentages_changed: [ 0.02 ],
|
42
42
|
passed?: true)]
|
43
43
|
formated_test = Compatriot::Reporter.new(tests).format(tests)[0]
|
44
|
-
formated_test[:control_image_path].must_equal "./tmp/test/screenshots/control/mocha::mock_viewing_a_specific_report_did_stuff.png"
|
45
|
-
formated_test[:variable_image_path].must_equal "./tmp/test/screenshots/variable/mocha::mock_viewing_a_specific_report_did_stuff.png"
|
46
|
-
formated_test[:diff_image_path].must_equal "./tmp/test/screenshots/diffs/mocha::mock_viewing_a_specific_report_did_stuff.png"
|
44
|
+
formated_test[:control_image_path].must_equal File.expand_path("./tmp/test/screenshots/control/mocha::mock_viewing_a_specific_report_did_stuff.png")
|
45
|
+
formated_test[:variable_image_path].must_equal File.expand_path("./tmp/test/screenshots/variable/mocha::mock_viewing_a_specific_report_did_stuff.png")
|
46
|
+
formated_test[:diff_image_path].must_equal File.expand_path("./tmp/test/screenshots/diffs/mocha::mock_viewing_a_specific_report_did_stuff.png")
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: compatriot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carol (Nichols || Goulding)
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-08-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: minitest
|