Sha256: ee9bba126466556bcd7bafffef10b2ffbe61906c4fd8a2aa6b54fdc0710dc2d8
Contents?: true
Size: 424 Bytes
Versions: 25
Compression:
Stored size: 424 Bytes
Contents
require 'spec_helper' describe Query::Full do before(:each) do @index = stub :index end describe 'result_type' do before(:each) do @tokens = [ Query::Token.processed('some'), Query::Token.processed('query') ] @query = Query::Full.new @tokens, @index end it "should return a specific type" do @query.result_type.should == Results::Full end end end
Version data entries
25 entries across 25 versions & 1 rubygems