Commit fa8c4aac52b20c1e8fe532e2df7bd0775e6e9aa0

Authored by Rodrigo Souto
1 parent 1424dc02

[postgres-tests] Fixing category tests

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
test/unit/category_test.rb
... ... @@ -488,6 +488,7 @@ class CategoryTest < ActiveSupport::TestCase
488 488 end
489 489  
490 490 should 'paginate upcoming events' do
  491 + Event.destroy_all
491 492 category = Category.create!(:name => 'category1', :environment_id => Environment.default.id)
492 493 profile = fast_create(Profile)
493 494 event1 = Event.create!(:name => 'event1', :profile => profile, :start_date => Time.now)
... ...