spec/thinking_sphinx_spec.rb in thinking-sphinx-1.3.8 vs spec/thinking_sphinx_spec.rb in thinking-sphinx-1.3.9

- old
+ new

@@ -5,11 +5,15 @@ it "should return a Context instance" do ThinkingSphinx.context.should be_a(ThinkingSphinx::Context) end it "should remember changes to the Context instance" do + models = ThinkingSphinx.context.indexed_models + ThinkingSphinx.context.indexed_models.replace([:model]) ThinkingSphinx.context.indexed_models.should == [:model] + + ThinkingSphinx.context.indexed_models.replace(models) end end describe '.define_indexes?' do it "should define indexes by default" do