[Git][noosfero/noosfero][master] scrap_test: destroy actiontracker to stabilize #last

Bráulio Bhavamitra gitlab at gitlab.com
Thu Jul 23 13:38:18 BRT 2015


Bráulio Bhavamitra pushed to branch master at Noosfero / noosfero


Commits:
55c00636 by Braulio Bhavamitra at 2015-07-23T13:37:12Z
scrap_test: destroy actiontracker to stabilize #last

- - - - -


1 changed file:

- test/unit/scrap_test.rb


Changes:

=====================================
test/unit/scrap_test.rb
=====================================
--- a/test/unit/scrap_test.rb
+++ b/test/unit/scrap_test.rb
@@ -5,6 +5,7 @@ class ScrapTest < ActiveSupport::TestCase
   def setup
     Person.delete_all
     Scrap.delete_all
+    ActionTracker::Record.destroy_all
   end
 
   should "have the content" do
@@ -265,7 +266,7 @@ class ScrapTest < ActiveSupport::TestCase
   should 'the action_tracker_target be the community when the scraps has the community as receiver' do
     scrap = Scrap.new
     assert_equal scrap, scrap.action_tracker_target
-    
+
     community = fast_create(Community)
     scrap.receiver = community
     assert_equal community, scrap.action_tracker_target



View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/55c006361c2ce051125490f30beaaeddf0c2e81b
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150723/c435fa7b/attachment.html>


More information about the Noosfero-dev mailing list