spec/spec_helper.rb in motion-sparkle-sandbox-2.0.1 vs spec/spec_helper.rb in motion-sparkle-sandbox-2.1.0
- old
+ new
@@ -95,6 +95,14 @@
# # Seed global randomization in this process using the `--seed` CLI option.
# # Setting this allows you to use `--seed` to deterministically reproduce
# # test failures related to randomization by passing the same `--seed` value
# # as the one that triggered the failure.
# Kernel.srand config.seed
+
+ config.before(:suite) do
+ SpecUtils::SparkleSetup.initial_install
+ end
+
+ config.after(:suite) do
+ SpecUtils::SparkleSetup.final_deinstall
+ end
end