Fix spec in peoplecontroller
This commit is contained in:
parent
f00e0ada78
commit
b467d12d83
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue