Sha256: 2a5a24721d2404037f401907da8724473c35777e28cafb6562ea5859f86ce08f

Contents?: true

Size: 349 Bytes

Versions: 10

Compression:

Stored size: 349 Bytes

Contents

# -*- encoding : utf-8 -*-
require_relative 'testing'
require_relative '../lib/mongoid-grid_fs.rb'

Mongoid.configure do |config|
  config.connect_to('mongoid-grid_fs_test')
end

require 'stringio'

class SIO < StringIO
  attr_accessor :filename

  def initialize(filename, *args, &block)
    @filename = filename
    super(*args, &block)
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
mongoid-grid_fs-1.4.0 test/helper.rb
mongoid-grid_fs-1.3.3 test/helper.rb
mongoid-grid_fs-1.3.2 test/helper.rb
mongoid-grid_fs-1.3.1 test/helper.rb
mongoid-grid_fs-1.3.0 test/helper.rb
mongoid-grid_fs-1.2.0 test/helper.rb
mongoid-grid_fs-1.1.2 test/helper.rb
mongoid-grid_fs-1.1.1 test/helper.rb
mongoid-grid_fs-1.1.0 test/helper.rb
mongoid-grid_fs-1.0.0 test/helper.rb