We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7a0c1f commit e4f665fCopy full SHA for e4f665f
spec/spec_helper.rb
@@ -3,6 +3,12 @@
3
4
require 'simplecov'
5
6
+# @note must be before loading config/environment because railtie needs to be loaded before
7
+# `Metasploit::Framework::Application.initialize!` is called.
8
+#
9
+# Must be explicit as activerecord is optional dependency
10
+require 'active_record/railtie'
11
+
12
require File.expand_path('../../config/environment', __FILE__)
13
14
# Don't `require 'rspec/rails'` as it includes support for pieces of rails that metasploit-framework doesn't use
0 commit comments