Skip to content

Commit

Permalink
Upgrade rspec
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Feb 25, 2020
1 parent 901056d commit dc3a25f
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.rails-edge
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.rails3.0
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.rails3.1
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.rails3.2
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.rails4.0
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.rails4.1
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.rails4.2
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.rails5.0
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.rails5.1
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.rails5.2
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion spec/finders/active_record_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit dc3a25f

Please sign in to comment.