spec/lib/query/live_spec.rb in picky-0.11.2 vs spec/lib/query/live_spec.rb in picky-0.12.0
- old
+ new
@@ -1,13 +1,11 @@
require 'spec_helper'
describe Query::Live do
before(:each) do
- # @category1 = Index::Category.new
- # @type_index = Index::Type.new :some_name, :some_result_type, @category1
- @type = stub :type
- @index = stub :index, :index => @type
+ @indexed = stub :indexed
+ @index = stub :index, :indexed => @indexed
end
describe 'result_type' do
before(:each) do
@query = Query::Live.new @index
\ No newline at end of file