Sha256: 030e16c6962556363ca394a3abd3b3be9281312c0d9fc8ccac0a45f5a8c504e6

Contents?: true

Size: 656 Bytes

Versions: 7

Compression:

Stored size: 656 Bytes

Contents

require File.expand_path('../fixtures/classes', __FILE__)
require File.expand_path('../shared/write', __FILE__)

ruby_version_is "1.9" do
  describe "StringIO#write_nonblock when passed [Object]" do
    it_behaves_like :stringio_write, :write_nonblock
  end

  describe "StringIO#write_nonblock when passed [String]" do
    it_behaves_like :stringio_write_string, :write_nonblock
  end

  describe "StringIO#write_nonblock when self is not writable" do
    it_behaves_like :stringio_write_not_writable, :write_nonblock
  end

  describe "StringIO#write_nonblock when in append mode" do
    it_behaves_like :stringio_write_append, :write_nonblock
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rubysl-stringio-2.3 spec/write_nonblock_spec.rb
rubysl-stringio-2.2 spec/write_nonblock_spec.rb
rubysl-stringio-2.1 spec/write_nonblock_spec.rb
rubysl-stringio-2.1.0 spec/write_nonblock_spec.rb
rubysl-stringio-1.0.1 spec/write_nonblock_spec.rb
rubysl-stringio-1.0.0 spec/write_nonblock_spec.rb
rubysl-stringio-2.0.0 spec/write_nonblock_spec.rb