Skip to content

Commit

Permalink
spec: use truncate_all_tables helper
Browse files Browse the repository at this point in the history
Change-Id: I52ceb101adb933e42ad98230ac034a0f5e869156
Reviewed-on: https://gerrit.instructure.com/31739
Tested-by: Jenkins <[email protected]>
Reviewed-by: James Williams  <[email protected]>
Product-Review: Cody Cutrer <[email protected]>
QA-Review: Cody Cutrer <[email protected]>
  • Loading branch information
ccutrer committed Mar 11, 2014
1 parent 8615872 commit 2a416bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
end

after(:all) do
ActiveRecord::Base.all_models.each { |m| truncate_table(m) }
truncate_all_tables
@converter.delete_unzipped_archive
if File.exists?(@dir)
FileUtils::rm_rf(@dir)
Expand Down

0 comments on commit 2a416bc

Please sign in to comment.