summaryrefslogtreecommitdiff
path: root/spec/support/audit_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/audit_helper.rb')
-rw-r--r--spec/support/audit_helper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/support/audit_helper.rb b/spec/support/audit_helper.rb
index 70e36f1ad2..8fd3f4d719 100644
--- a/spec/support/audit_helper.rb
+++ b/spec/support/audit_helper.rb
@@ -22,6 +22,8 @@ class NullObject
end
end
+# TODO remove this when RSPec exposes this functionality publically
+# https://github.com/rspec/rspec-core/pull/1808
module Sandboxing
def self.sandboxed(&block)
orig_load_path = $LOAD_PATH.dup