Sha256: f71f36c7ef1dfbf077f114d01f1d4a673e77cb9a587b06a8171a7a9c7021c392

Contents?: true

Size: 331 Bytes

Versions: 6

Compression:

Stored size: 331 Bytes

Contents

require File.expand_path('../spec_helper', __FILE__)

if ChildProcess.jruby?
  describe ChildProcess::JRuby::IO do
    let(:io) { ChildProcess::JRuby::IO.new }

    it "raises an ArgumentError if given IO does not respond to :to_outputstream" do
      lambda { io.stdout = nil }.should raise_error(ArgumentError)
    end
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
childprocess-0.1.6 spec/jruby_spec.rb
childprocess-0.1.5 spec/jruby_spec.rb
childprocess-0.1.4 spec/jruby_spec.rb
childprocess-0.1.3 spec/jruby_spec.rb
childprocess-0.1.2 spec/jruby_spec.rb
childprocess-0.1.1 spec/jruby_spec.rb