Commit 55c006361c2ce051125490f30beaaeddf0c2e81b
1 parent
6c55ce14
Exists in
staging
and in
42 other branches
scrap_test: destroy actiontracker to stabilize #last
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
test/unit/scrap_test.rb
| ... | ... | @@ -5,6 +5,7 @@ class ScrapTest < ActiveSupport::TestCase |
| 5 | 5 | def setup |
| 6 | 6 | Person.delete_all |
| 7 | 7 | Scrap.delete_all |
| 8 | + ActionTracker::Record.destroy_all | |
| 8 | 9 | end |
| 9 | 10 | |
| 10 | 11 | should "have the content" do |
| ... | ... | @@ -265,7 +266,7 @@ class ScrapTest < ActiveSupport::TestCase |
| 265 | 266 | should 'the action_tracker_target be the community when the scraps has the community as receiver' do |
| 266 | 267 | scrap = Scrap.new |
| 267 | 268 | assert_equal scrap, scrap.action_tracker_target |
| 268 | - | |
| 269 | + | |
| 269 | 270 | community = fast_create(Community) |
| 270 | 271 | scrap.receiver = community |
| 271 | 272 | assert_equal community, scrap.action_tracker_target | ... | ... |