spec/lib/indexed/bundle/memory_spec.rb in picky-3.0.0.pre1 vs spec/lib/indexed/bundle/memory_spec.rb in picky-3.0.0.pre2
- old
+ new
@@ -1,11 +1,11 @@
require 'spec_helper'
describe Picky::Indexed::Bundle::Memory do
before(:each) do
- @index = Picky::Indexes::Memory.new :some_index, source: []
+ @index = Picky::Indexes::Memory.new :some_index
@category = Picky::Category.new :some_category, @index
@similarity = stub :similarity
@bundle = described_class.new :some_name, @category, @similarity
end
@@ -151,10 +151,10 @@
end
end
describe 'initialization' do
before(:each) do
- @index = Picky::Indexes::Memory.new :some_index, source: []
+ @index = Picky::Indexes::Memory.new :some_index
@category = Picky::Category.new :some_category, @index
@bundle = described_class.new :some_name, @category, :similarity
end
it 'should initialize the index correctly' do
\ No newline at end of file