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:
parent
60d49eb423
commit
c547e66eb6
1 changed files with 0 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue