diff options
| author | Xinhui | 2016-12-12 16:56:42 +0100 | 
|---|---|---|
| committer | RobertDober | 2017-04-11 15:39:41 +0200 | 
| commit | fd22ccc787957d9a30942281f0a2c1e05b474646 (patch) | |
| tree | f0d546c95d5b10f001c01201973bb515903920e9 /spec/spec_helper.rb | |
| parent | a74f22ccb6efc4e30769c3b48c4b6f92fdf214da (diff) | |
| download | chouette-core-fd22ccc787957d9a30942281f0a2c1e05b474646.tar.bz2 | |
Update to rails 4.2.7
refs #2070
Diffstat (limited to 'spec/spec_helper.rb')
| -rw-r--r-- | spec/spec_helper.rb | 17 | 
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 | 
