Commit e44679ef8e4249a4e33e2430b23f9dddb78b6fc5
1 parent
e6f4aa3c
Exists in
master
and in
29 other branches
search-test: fix missing person creation
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
test/functional/search_controller_test.rb
| ... | ... | @@ -371,6 +371,7 @@ class SearchControllerTest < ActionController::TestCase |
| 371 | 371 | end |
| 372 | 372 | |
| 373 | 373 | should 'see the events paginated' do |
| 374 | + person = create_user('testuser').person | |
| 374 | 375 | 30.times do |i| |
| 375 | 376 | create_event(person, :name => "Event #{i}", :start_date => Date.today) |
| 376 | 377 | end | ... | ... |