Skip to content

Commit

Permalink
Appease rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
arcadiafalcone committed Sep 15, 2020
1 parent 02c28a8 commit c332005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/controllers/modsulator_controller_spec.rb
Expand Up @@ -23,7 +23,7 @@
post :create, params: { file: Rack::Test::UploadedFile.new(File.join(FIXTURES_DIR, 'crowdsourcing_bridget_1.xlsx'), 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'), filename: 'crowdsourcing_bridget_1.xlsx' }
returned_xml = Nokogiri::XML(response.body)
expected_xml = Nokogiri::XML(File.read(File.join(FIXTURES_DIR, 'crowdsourcing_bridget_1.xml')))
expect(EquivalentXml.equivalent?(returned_xml, expected_xml, ignore_attr_values: %w(datetime version schemaLocation))).to be_truthy
expect(EquivalentXml.equivalent?(returned_xml, expected_xml, ignore_attr_values: %w[datetime version schemaLocation])).to be_truthy
end
end
end

0 comments on commit c332005

Please sign in to comment.