We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f45e95c commit 26f4979Copy full SHA for 26f4979
spec/lib/nbp/push_connector_spec.rb
@@ -8,7 +8,8 @@
8
let(:token_expiration) { 600 }
9
10
let(:task) { create(:task) }
11
- let(:task_xml) { (Nokogiri::XML::Builder.new(encoding: 'UTF-8') {|xml| LomService::ExportLom.call(task:, xml:) }).to_xml }
+ 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 }
13
14
let(:connector) { Class.new(described_class).instance } # https://stackoverflow.com/a/23901644
15
0 commit comments