summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2017-07-24 14:19:09 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2017-07-24 14:19:09 +0300
commit8f0eef8b0023129b2e7848fe9ba62d3aaf717cc9 (patch)
tree118c727c723ed44cd9d4254bdea6d6df4b171047
parent5a9554bb338bec4b31b0e712ae07898235f7a69d (diff)
downloadgitlab-ce-8f0eef8b0023129b2e7848fe9ba62d3aaf717cc9.tar.gz
Update shoulda-matchers gem to 3.1.2
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--Gemfile2
-rw-r--r--Gemfile.lock6
-rw-r--r--spec/spec_helper.rb7
3 files changed, 11 insertions, 4 deletions
diff --git a/Gemfile b/Gemfile
index 1ee44680774..df720c60bab 100644
--- a/Gemfile
+++ b/Gemfile
@@ -353,7 +353,7 @@ group :development, :test do
end
group :test do
- gem 'shoulda-matchers', '~> 2.8.0', require: false
+ gem 'shoulda-matchers', '~> 3.1.2', require: false
gem 'email_spec', '~> 1.6.0'
gem 'json-schema', '~> 2.6.2'
gem 'webmock', '~> 2.3.2'
diff --git a/Gemfile.lock b/Gemfile.lock
index b0b437ae342..6f555c830de 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -774,8 +774,8 @@ GEM
sexp_processor (4.9.0)
sham_rack (1.3.6)
rack
- shoulda-matchers (2.8.0)
- activesupport (>= 3.0.0)
+ shoulda-matchers (3.1.2)
+ activesupport (>= 4.0.0)
sidekiq (5.0.4)
concurrent-ruby (~> 1.0)
connection_pool (~> 2.2, >= 2.2.0)
@@ -1084,7 +1084,7 @@ DEPENDENCIES
sentry-raven (~> 2.5.3)
settingslogic (~> 2.0.9)
sham_rack (~> 1.3.6)
- shoulda-matchers (~> 2.8.0)
+ shoulda-matchers (~> 3.1.2)
sidekiq (~> 5.0)
sidekiq-cron (~> 0.6.0)
sidekiq-limit_fetch (~> 3.4)
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 5d5715b10ff..e7329210896 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -148,3 +148,10 @@ FactoryGirl::SyntaxRunner.class_eval do
end
ActiveRecord::Migration.maintain_test_schema!
+
+Shoulda::Matchers.configure do |config|
+ config.integrate do |with|
+ with.test_framework :rspec
+ with.library :rails
+ end
+end