spec/lib/indexed/index_spec.rb in picky-0.12.3 vs spec/lib/indexed/index_spec.rb in picky-1.0.0
- old
+ new
@@ -5,11 +5,11 @@
context "with categories" do
before(:each) do
@categories = stub :categories
@index = Indexed::Index.new :some_name
- @index.add_category :some_category_name1
- @index.add_category :some_category_name2
+ @index.define_category :some_category_name1
+ @index.define_category :some_category_name2
@index.stub! :categories => @categories
end
describe "load_from_cache" do
\ No newline at end of file