Remove a dangling "lola" object creation

It's never used and possibly was left unnoticed by some refactoring.

closes #7230
This commit is contained in:
Senya 2016-11-29 16:12:12 +02:00 committed by Benjamin Neff
parent 60d49eb423
commit c547e66eb6

View file

@ -6,9 +6,6 @@ describe SearchController, :type => :controller do
end
describe 'query is a person' do
@lola = FactoryGirl.create(:person, :diaspora_handle => "lola@example.org",
:profile => FactoryGirl.build(:profile, :first_name => "Lola",
:last_name => "w", :searchable => false))
it 'goes to people index page' do
get :search, :q => 'eugene'
expect(response).to be_redirect