cornucopia 0.1.26 → 0.1.28

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
  SHA1:
3
- metadata.gz: 0341e9cbf03a45b514d035fbb123c70bedfafe30
4
- data.tar.gz: 62ac2758b090dc315d6b29c1efb14f1163ddc0d8
3
+ metadata.gz: c6aa69b3296fce96d561c360b96c37d346e1a80c
4
+ data.tar.gz: 9185183d3e4b98b537052af74d8c732dbc635b5f
5
5
  SHA512:
6
- metadata.gz: 3e8bb87494ff9e3b8be037ae29ae92cc77eab61f84da84ab8349f774ebb469dcd0091eff255aed639a9eb353479a348dc1c9dd4d1d3f9e74a4fd211293ec18d7
7
- data.tar.gz: eb0f0c7891a38db3cc045dc5cf6fd96eef24b370987fc96377068edda7cd0aca69972c5cbe5e52bb08a76c1e4791a40e33c45a847d0cd9445bbe0d8033523dff
6
+ metadata.gz: 4572816358fa6746134c9f8529b49da88af1e49b06e86778d8c116394c3356cc39914f06f66616dffa2e339ffadc9ddc0ddfc2ec8b032781d504d66006c552e3
7
+ data.tar.gz: 449480249c44ed4388cca098e308d7eb67f8e13347a3bd3b1872601283d2ff903a5b6f12d14154e61e38198a72a52959065971228d88e30369aa1953421fecd2
@@ -12,18 +12,7 @@ if Cucumber::VERSION.split[0].to_i >= 2
12
12
  report_name = "Page Dump for: Line - #{scenario.line}"
13
13
  end
14
14
 
15
- report = Cornucopia::Util::ReportBuilder.current_report
16
-
17
- report.within_section(report_name) do |report|
18
- report.within_hidden_table do |table|
19
- Cornucopia::Util::ReportTable.new(
20
- report_table: nil,
21
- nested_table: table,
22
- suppress_blank_table: true) do |sub_tables|
23
- Cornucopia::Capybara::PageDiagnostics.dump_details_in_table(report, sub_tables)
24
- end
25
- end
26
- end
15
+ Cornucopia::Capybara::PageDiagnostics.dump_details(section_label: report_name)
27
16
  end
28
17
  end
29
18
 
@@ -29,18 +29,7 @@ RSpec.configure do |config|
29
29
  test_example ||= example
30
30
 
31
31
  if (test_example.exception)
32
- report = Cornucopia::Util::ReportBuilder.current_report
33
-
34
- report.within_section("Page Dump for: #{test_example.full_description}") do |report|
35
- report.within_hidden_table do |table|
36
- Cornucopia::Util::ReportTable.new(
37
- report_table: nil,
38
- nested_table: table,
39
- suppress_blank_table: true) do |sub_tables|
40
- Cornucopia::Capybara::PageDiagnostics.dump_details_in_table(report, sub_tables)
41
- end
42
- end
43
- end
32
+ Cornucopia::Capybara::PageDiagnostics.dump_details(section_label: "Page Dump for: #{test_example.full_description}")
44
33
  end
45
34
  end
46
35
 
@@ -1,3 +1,3 @@
1
1
  module Cornucopia
2
- VERSION = "0.1.26"
2
+ VERSION = "0.1.28"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cornucopia
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.26
4
+ version: 0.1.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - RealNobody