From dc3a25faf91a00e0f9e38233c3810f4d51844f0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Tue, 25 Feb 2020 23:53:31 +0100 Subject: [PATCH] Upgrade rspec --- Gemfile | 2 +- Gemfile.rails-edge | 2 +- Gemfile.rails3.0 | 2 +- Gemfile.rails3.1 | 2 +- Gemfile.rails3.2 | 2 +- Gemfile.rails4.0 | 2 +- Gemfile.rails4.1 | 2 +- Gemfile.rails4.2 | 2 +- Gemfile.rails5.0 | 2 +- Gemfile.rails5.1 | 2 +- Gemfile.rails5.2 | 2 +- spec/finders/active_record_spec.rb | 2 +- spec/spec_helper.rb | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Gemfile b/Gemfile index 72ec76f42..a0c841457 100644 --- a/Gemfile +++ b/Gemfile @@ -5,7 +5,7 @@ rails_version = '~> 6.0.2' gem 'activerecord', rails_version gem 'actionpack', rails_version -gem 'rspec', '~> 2.7.0' +gem 'rspec', '~> 2.99' gem 'mocha', '~> 0.9.8' gem 'sqlite3', '~> 1.4.0' diff --git a/Gemfile.rails-edge b/Gemfile.rails-edge index cad70d20f..37e9b90bc 100644 --- a/Gemfile.rails-edge +++ b/Gemfile.rails-edge @@ -7,7 +7,7 @@ gem 'actionpack', git: 'https://github.com/rails/rails.git', branch: 'master' gem 'thread_safe' -gem 'rspec', '~> 2.7.0' +gem 'rspec', '~> 2.99' gem 'mocha', '~> 0.9.8' gem 'sqlite3', '~> 1.4.0' diff --git a/Gemfile.rails3.0 b/Gemfile.rails3.0 index 7adc4a04b..c3bbe9201 100644 --- a/Gemfile.rails3.0 +++ b/Gemfile.rails3.0 @@ -6,7 +6,7 @@ gem 'activerecord', rails_version gem 'actionpack', rails_version gem 'i18n', '< 0.7' -gem 'rspec', '~> 2.7.0' +gem 'rspec', '~> 2.99' gem 'mocha', '~> 0.9.8' gem 'sqlite3', '~> 1.3.3' diff --git a/Gemfile.rails3.1 b/Gemfile.rails3.1 index 0b57a52c0..96223134b 100644 --- a/Gemfile.rails3.1 +++ b/Gemfile.rails3.1 @@ -7,7 +7,7 @@ gem 'actionpack', rails_version gem 'i18n', '< 0.7' gem 'rack-cache', '~> 1.2.0' -gem 'rspec', '~> 2.7.0' +gem 'rspec', '~> 2.99' gem 'mocha', '~> 0.9.8' gem 'sqlite3', '~> 1.3.3' diff --git a/Gemfile.rails3.2 b/Gemfile.rails3.2 index 9776c124a..7a11cfa2b 100644 --- a/Gemfile.rails3.2 +++ b/Gemfile.rails3.2 @@ -7,7 +7,7 @@ gem 'actionpack', rails_version gem 'i18n', '< 0.7' gem 'rack-cache', '~> 1.2.0' -gem 'rspec', '~> 2.7.0' +gem 'rspec', '~> 2.99' gem 'mocha', '~> 0.9.8' gem 'sqlite3', '~> 1.3.3' diff --git a/Gemfile.rails4.0 b/Gemfile.rails4.0 index ce1b8164f..5785012ba 100644 --- a/Gemfile.rails4.0 +++ b/Gemfile.rails4.0 @@ -5,7 +5,7 @@ rails_version = '~> 4.0.13' gem 'activerecord', rails_version gem 'actionpack', rails_version -gem 'rspec', '~> 2.7.0' +gem 'rspec', '~> 2.99' gem 'mocha', '~> 0.9.8' gem 'sqlite3', '~> 1.3.6' diff --git a/Gemfile.rails4.1 b/Gemfile.rails4.1 index 9e876ef6e..fc959e8b3 100644 --- a/Gemfile.rails4.1 +++ b/Gemfile.rails4.1 @@ -5,7 +5,7 @@ rails_version = '~> 4.1.16' gem 'activerecord', rails_version gem 'actionpack', rails_version -gem 'rspec', '~> 2.7.0' +gem 'rspec', '~> 2.99' gem 'mocha', '~> 0.9.8' gem 'sqlite3', '~> 1.3.6' diff --git a/Gemfile.rails4.2 b/Gemfile.rails4.2 index c81c2e8c2..292baea5d 100644 --- a/Gemfile.rails4.2 +++ b/Gemfile.rails4.2 @@ -7,7 +7,7 @@ gem 'actionpack', rails_version gem 'rails-dom-testing' gem 'nokogiri', '~> 1.6.8' -gem 'rspec', '~> 2.7.0' +gem 'rspec', '~> 2.99' gem 'mocha', '~> 0.9.8' gem 'sqlite3', '~> 1.3.6' diff --git a/Gemfile.rails5.0 b/Gemfile.rails5.0 index 735524a64..eb7ee4921 100644 --- a/Gemfile.rails5.0 +++ b/Gemfile.rails5.0 @@ -6,7 +6,7 @@ gem 'activerecord', rails_version gem 'actionpack', rails_version gem 'rails-dom-testing' -gem 'rspec', '~> 2.7.0' +gem 'rspec', '~> 2.99' gem 'mocha', '~> 0.9.8' gem 'sqlite3', '~> 1.3.6' diff --git a/Gemfile.rails5.1 b/Gemfile.rails5.1 index 1b6629a8e..d2bcdd64f 100644 --- a/Gemfile.rails5.1 +++ b/Gemfile.rails5.1 @@ -5,7 +5,7 @@ rails_version = '~> 5.1.7' gem 'activerecord', rails_version gem 'actionpack', rails_version -gem 'rspec', '~> 2.7.0' +gem 'rspec', '~> 2.99' gem 'mocha', '~> 0.9.8' gem 'sqlite3', '~> 1.3.6' diff --git a/Gemfile.rails5.2 b/Gemfile.rails5.2 index c83b0889f..0fc702e94 100644 --- a/Gemfile.rails5.2 +++ b/Gemfile.rails5.2 @@ -5,7 +5,7 @@ rails_version = '~> 5.2.4.1' gem 'activerecord', rails_version gem 'actionpack', rails_version -gem 'rspec', '~> 2.7.0' +gem 'rspec', '~> 2.99' gem 'mocha', '~> 0.9.8' gem 'sqlite3', '~> 1.3.6' diff --git a/spec/finders/active_record_spec.rb b/spec/finders/active_record_spec.rb index 1ee15d067..bb75a6404 100644 --- a/spec/finders/active_record_spec.rb +++ b/spec/finders/active_record_spec.rb @@ -220,7 +220,7 @@ sql = "select content from topics where content like '%futurama%'" topics = Topic.paginate_by_sql sql, :page => 1, :per_page => 1 topics.total_entries.should == 1 - topics.first.attributes.has_key?('title').should be_false + topics.first.attributes.has_key?('title').should be(false) }.should run_queries(2) end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 13b1418ab..8a653bddd 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -42,5 +42,5 @@ def show_queries(&block) } config.mock_with :mocha - config.backtrace_clean_patterns << /view_example_group/ + config.backtrace_exclusion_patterns << /view_example_group/ end