Commit b467d12d authored by Raphael's avatar Raphael

Fix spec in peoplecontroller

parent f00e0ada
......@@ -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]
it 'shows a contact' do
user2 = make_user
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment