Sha256: d689f9f581d01512339e3b533bc3d93c84491f88ba317c26e314df39c04d4973

Contents?: true

Size: 239 Bytes

Versions: 6

Compression:

Stored size: 239 Bytes

Contents

require_relative "setup.rb"

class GridFSTest < MiniTest::Test

  def test_gridfs
    file = Mongo::Grid::File.new("TEST", :filename => "test.txt",:content_type => "text/plain")
    id = $gridfs.insert_one file
    refute_nil id
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
lazar-1.2.1 test/gridfs.rb
lazar-1.2.0 test/gridfs.rb
lazar-1.1.3 test/gridfs.rb
lazar-1.1.0 test/gridfs.rb
lazar-1.0.1 test/gridfs.rb
lazar-1.0.0 test/gridfs.rb