Skip to content

Commit a75149b

Browse files
committed
Fix Rubocop offenses
1 parent b23bca7 commit a75149b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec/lib/nbp/push_connector_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
let(:token_expiration) { 600 }
99

1010
let(:task) { create(:task) }
11-
let(:task_xml) { (Nokogiri::XML::Builder.new(encoding: 'UTF-8') {|xml| LomService::ExportLom.call(task:, xml:) }).to_xml }
11+
let(:task_xml_builder) { Nokogiri::XML::Builder.new(encoding: 'UTF-8') {|xml| LomService::ExportLom.call(task:, xml:) } }
12+
let(:task_xml) { task_xml_builder.to_xml }
1213

1314
let(:connector) { Class.new(described_class).instance } # https://stackoverflow.com/a/23901644
1415

0 commit comments

Comments
 (0)