|
|
@@ -21,6 +21,12 @@ Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
|
21
|
21
|
|
22
|
22
|
ActiveRecord::Migration.maintain_test_schema!
|
23
|
23
|
|
|
24
|
+# TODO: This will silence warnings when the raise_error matcher
|
|
25
|
+# is used without providing a specific error or error message.
|
|
26
|
+# Specs SHOULD pass the type of error that you're expecting to be
|
|
27
|
+# raised when using the raise_error matcher.
|
|
28
|
+RSpec::Expectations.configuration.warn_about_potential_false_positives = false
|
|
29
|
+
|
24
|
30
|
RSpec.configure do |config|
|
25
|
31
|
config.mock_with :rr
|
26
|
32
|
|