Skip to content

Commit

Permalink
[BUGFIX] Add spec hax for JRuby
Browse files Browse the repository at this point in the history
  • Loading branch information
benlangfeld committed Mar 2, 2013
1 parent 0c98edd commit bffb25d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/ruby_speech/nlsml_spec.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@
end end
end end


if RUBY_ENGINE == 'jruby'
expected_document.gsub! 'myApp:to_city', 'to_city'
expected_document.gsub! 'xf:group', 'group'
expected_document.gsub! 'xf:string', 'string'
end

document.to_xml.should == expected_document document.to_xml.should == expected_document
end end
end end
Expand Down

0 comments on commit bffb25d

Please sign in to comment.