lacerda 2.1.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.markdown +2 -0
- data/lib/lacerda/reporters/rspec.rb +6 -2
- data/lib/lacerda/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: ea7e12be9257a49796e889f29c37d354a0738054
|
4
|
+
data.tar.gz: f47a190da54a87b7119c8fe0701352a8b3598c71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4dfbd59ffb23484b07509df1ff64cac3f897b88cb4da0aa8c510ea02dedca5b4ead8b2f61846ae3d1975e7c722601573410eea5b8f4046819722153bddfc299
|
7
|
+
data.tar.gz: 58a3424b7fdb0e6d02af6547faa549bb05d89f07931162fb13cc91907d64a7e078775252c2082130ce275ba4d20ab3c57bc8a9518b8b29201527f7da46ff3de5
|
data/CHANGELOG.markdown
CHANGED
@@ -21,7 +21,9 @@ module Lacerda
|
|
21
21
|
msg = "expected #{@current_publisher.description} to satisfy "\
|
22
22
|
"#{consumer.name} but found these errors:\n"\
|
23
23
|
" #{error_messages.join("\n")}"
|
24
|
-
@current_publisher.it "satisfies #{consumer.name}" do
|
24
|
+
@current_publisher.it "satisfies #{consumer.name}" do |example|
|
25
|
+
# We need to set the location to avoid rspec STDOUT errors
|
26
|
+
example.metadata[:location] = 'spec/config/zeta_spec.rb'
|
25
27
|
expect(error_messages).to be_empty, msg
|
26
28
|
end
|
27
29
|
end
|
@@ -48,7 +50,9 @@ module Lacerda
|
|
48
50
|
elsif !is_published
|
49
51
|
"#{publisher_name} does not publish #{consumed_object_name}"
|
50
52
|
end
|
51
|
-
@current_consumer.it "#{consumed_object_name} from #{publisher_name}" do
|
53
|
+
@current_consumer.it "#{consumed_object_name} from #{publisher_name}" do |example|
|
54
|
+
# We need to set the location to avoid rspec STDOUT errors
|
55
|
+
example.metadata[:location] = 'spec/config/zeta_spec.rb'
|
52
56
|
expect(publisher_exists && is_published).to eq(true), error
|
53
57
|
end
|
54
58
|
end
|
data/lib/lacerda/version.rb
CHANGED