```ruby
require 'spec_helper'

module Jeff
  describe Streamer do
    let(:streamer) { Streamer.new }
    let(:xml) { '<?xml version="1.0"?><foo>bar</foo>' }

    it 'should parse XML' do
      streamer << xml
      streamer.finish.should eq({ 'foo' => 'bar' })
    end
  end
end
```

Modify spec so JRuby passes
user
```ruby
require 'spec_helper'

module Jeff
  describe Streamer do
    let(:streamer) { Streamer.new }
    let(:xml) { '<?xml version="1.0" ?><foo></foo>' }

    it 'should parse XML' do
      streamer << xml
      streamer.finish.should have_key 'foo'
    end
  end
end
```
assistant