Sha256: f622a93697f24b35b275149c01760c8204cda05995fa8bf3a110d4fccbdb3c00

Contents?: true

Size: 361 Bytes

Versions: 7

Compression:

Stored size: 361 Bytes

Contents

require 'spec_helper'

describe Query::Full do

  before(:each) do
    @type  = stub :type
    @index = stub :index, :indexed => @type
  end

  describe 'result_type' do
    before(:each) do
      @query = described_class.new @index
    end
    it "should return a specific type" do
      @query.result_type.should == Internals::Results::Full
    end
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
picky-1.5.4 spec/lib/query/full_spec.rb
picky-1.5.3 spec/lib/query/full_spec.rb
picky-1.5.2 spec/lib/query/full_spec.rb
picky-1.5.1 spec/lib/query/full_spec.rb
picky-1.5.0 spec/lib/query/full_spec.rb
picky-1.4.3 spec/lib/query/full_spec.rb
picky-1.4.2 spec/lib/query/full_spec.rb