Permalink
Browse files

[BUGFIX] Add spec hax for JRuby

  • Loading branch information...
benlangfeld committed Jan 7, 2013
1 parent 0c98edd commit bffb25d6c6dc517814040a82149e33d4b0478621
Showing with 6 additions and 0 deletions.
  1. +6 −0 spec/ruby_speech/nlsml_spec.rb
@@ -74,6 +74,12 @@
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
end
end

0 comments on commit bffb25d

Please sign in to comment.