aboutsummaryrefslogtreecommitdiffstats
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index dd062bc84..f32d8a0fc 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -87,3 +87,20 @@ RSpec.configure do |config|
config.infer_spec_type_from_file_location!
end
+
+Shoulda::Matchers.configure do |config|
+ config.integrate do |with|
+ # Choose a test framework:
+ with.test_framework :rspec
+ # with.test_framework :minitest
+ # with.test_framework :minitest_4
+ # with.test_framework :test_unit
+
+ # Choose one or more libraries:
+ # with.library :active_record
+ # with.library :active_model
+ # with.library :action_controller
+ # Or, choose the following (which implies all of the above):
+ with.library :rails
+ end
+end