spec/lib/query/live_spec.rb in picky-1.4.1 vs spec/lib/query/live_spec.rb in picky-1.4.2

- old
+ new

@@ -7,19 +7,19 @@ @index = stub :index, :indexed => @indexed end describe 'result_type' do before(:each) do - @query = Query::Live.new @index + @query = described_class.new @index end it "should return a specific type" do - @query.result_type.should == Results::Live + @query.result_type.should == Internals::Results::Live end end describe "execute" do before(:each) do - @query = Query::Live.new @index + @query = described_class.new @index end it "should get allocations" do @query.result_type.should_receive :from @query.should_receive(:sorted_allocations).once \ No newline at end of file