Commit 906f3005c10e6be9a922f41d96e4e257cdbf9060

Authored by Antonio Terceiro
1 parent 7992de9d

plugins/spaminator: fix fragile test

plugins/spaminator/test/unit/spaminator_plugin/spaminator_test.rb
... ... @@ -50,6 +50,7 @@ class SpaminatorPlugin::SpaminatorTest < ActiveSupport::TestCase
50 50 end
51 51  
52 52 should 'process only people from the environment and that are not abusers' do
  53 + Person.delete_all
53 54 p1 = fast_create(Person)
54 55 p2 = fast_create(Person)
55 56 p3 = fast_create(Person, :environment_id => fast_create(Environment))
... ...