Skip to content

Commit

Permalink
Fix allure error in JRuby
Browse files Browse the repository at this point in the history
  • Loading branch information
sk-jlewis committed Sep 30, 2018
1 parent 46c8385 commit 409dbce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/allure-ruby-adaptor-api/builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def build!(opts = {}, &block)
suites_xml = []
(self.suites || []).each do |suite_title, suite|
builder = Nokogiri::XML::Builder.new do |xml|
xml.send "ns2:test-suite", :start => suite[:start] || 0, :stop => suite[:stop] || 0, 'xmlns' => '', "xmlns:ns2" => "urn:model.allure.qatools.yandex.ru" do
xml['ns2'].send 'test-suite', :start => suite[:start] || 0, :stop => suite[:stop] || 0, 'xmlns' => '', 'xmlns:ns2' => 'urn:model.allure.qatools.yandex.ru' do
xml.send :name, suite_title
xml.send :title, suite_title
xml.send "test-cases" do
Expand Down

0 comments on commit 409dbce

Please sign in to comment.