Skip to content

Commit

Permalink
Merge pull request sunspot#284 from benmoss/test_pollution
Browse files Browse the repository at this point in the history
Fix test pollution, on Travis, sorta
  • Loading branch information
alindeman committed Sep 8, 2012
2 parents a53cc28 + df6400e commit 89a09df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sunspot/spec/api/sunspot_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

describe "setup" do
it "should register the class in Sunspot.searchable" do
Sunspot.setup(Blog) do
Sunspot.setup(User) do
text :name
end
Sunspot.searchable.should_not be_empty
Sunspot.searchable.should include(Blog)
Sunspot.searchable.should include(User)
end
end

Expand Down

0 comments on commit 89a09df

Please sign in to comment.