Sha256: 13eb10ad53e1e86ea4111bb2a71a9dbd67ec0dd6722d5454730d748220ac8b8a
Contents?: true
Size: 486 Bytes
Versions: 7
Compression:
Stored size: 486 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe Spotlight::MDQueryNative do before do @query = Spotlight::MDQueryNative.new('kMDItemDisplayName = "*_spec.rb"cdw') end it "should instanciate" do @query.should be_an_instance_of(Spotlight::MDQueryNative) end it "should execute" do @query.set_search_scopes([File.expand_path(File.dirname(__FILE__))]); @query.execute.first.should be_an_instance_of(Spotlight::MDItemNative) end end
Version data entries
7 entries across 7 versions & 1 rubygems