Skip to content

Commit

Permalink
Fix for fussy spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
pat committed Dec 4, 2009
1 parent 707f777 commit f265cd8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/thinking_sphinx_spec.rb
Expand Up @@ -7,8 +7,12 @@
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

Expand Down

0 comments on commit f265cd8

Please sign in to comment.