diff --git a/spec/controllers/people_controller_spec.rb b/spec/controllers/people_controller_spec.rb index 187e012887a65085f7002a97412fcfe61fca05cb..d86b973a6f62264eaf3dbec6332e127fe6232bcd 100644 --- a/spec/controllers/people_controller_spec.rb +++ b/spec/controllers/people_controller_spec.rb @@ -80,7 +80,7 @@ describe PeopleController do it "assigns people" do eugene2 = Factory.create(:person, :profile => {:first_name => "Eugene", :last_name => "w"}) get :index, :q => "Eu" - assigns[:people].should == [@eugene, eugene2] + assigns[:people].should =~ [@eugene, eugene2] end it 'shows a contact' do user2 = make_user