6203: Fix cheating test.
authorTom Clegg <tom@curoverse.com>
Mon, 8 Jun 2015 06:23:37 +0000 (02:23 -0400)
committerTom Clegg <tom@curoverse.com>
Mon, 8 Jun 2015 06:23:37 +0000 (02:23 -0400)
services/api/test/unit/collection_performance_test.rb

index 075b4c542b0b2c5a48ba78a2353babbc093fa745..37da5fddde9da8a0d0e34f7d292394c3ffe4cf87 100644 (file)
@@ -33,6 +33,7 @@ class CollectionModelPerformanceTest < ActiveSupport::TestCase
         c.check_signatures
       end
       time_block 'check signatures + save' do
+        c.instance_eval do @signatures_checked = false end
         c.save!
       end
       c = time_block 'read' do