Fix spec in peoplecontroller

This commit is contained in:
Raphael 2010-12-16 11:37:16 -08:00
parent f00e0ada78
commit b467d12d83

View file

@ -80,7 +80,7 @@ describe PeopleController do
it "assigns people" do it "assigns people" do
eugene2 = Factory.create(:person, :profile => {:first_name => "Eugene", :last_name => "w"}) eugene2 = Factory.create(:person, :profile => {:first_name => "Eugene", :last_name => "w"})
get :index, :q => "Eu" get :index, :q => "Eu"
assigns[:people].should == [@eugene, eugene2] assigns[:people].should =~ [@eugene, eugene2]
end end
it 'shows a contact' do it 'shows a contact' do
user2 = make_user user2 = make_user