blob: 5bd5b8ef515afc686c74460cc1072b104c5abe43 (
plain)
1
2
3
4
5
6
7
8
9
10
|
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
|