Sha256: 225128cad5527cc67c8ef7a9de0aa1f98ec715c4fb457723c0bad049508ffc3e
Contents?: true
Size: 349 Bytes
Versions: 1
Compression:
Stored size: 349 Bytes
Contents
require 'spec_helper' include Ramdo describe Ramdisk::Factory do it 'should receive wrapper for the current OS' do wrapper = Ramdisk::Factory.get if RUBY_PLATFORM =~ /linux/ expect(wrapper).to be_a(Ramdisk::LinuxWrapper) elsif RUBY_PLATFORM =~ /darwin/ expect(wrapper).to be_a(Ramdisk::DarwinWrapper) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ramdo-0.2.1 | spec/ramdisk_factory_spec.rb |