Commit 43602bd5 authored by Mark Lapierre's avatar Mark Lapierre

Remove group created during test

parent f39dfda4
...@@ -37,8 +37,9 @@ module QA ...@@ -37,8 +37,9 @@ module QA
group.visit! group.visit!
end end
after do after do |example|
user.remove_via_api! user.remove_via_api!
group.remove_via_api! unless example.exception
Runtime::Feature.disable(:top_level_group_creation_enabled) Runtime::Feature.disable(:top_level_group_creation_enabled)
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment