File tree Expand file tree Collapse file tree 4 files changed +5
-8
lines changed Expand file tree Collapse file tree 4 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 1
1
--require spec_helper
2
- --color
3
2
--format documentation
Original file line number Diff line number Diff line change 6
6
7
7
gem 'rack'
8
8
gem 'rake'
9
- gem 'rspec' , '>= 3.4'
9
+ %w[ rspec rspec-core rspec-expectations rspec-mocks rspec-support ] . each do |repo |
10
+ gem repo , github : "rspec/#{ repo } " , branch : '4-0-dev'
11
+ end
10
12
gem 'rubocop-performance' , '~> 1.7'
11
13
gem 'rubocop-rake' , '~> 0.6'
12
14
gem 'yard'
Original file line number Diff line number Diff line change 86
86
end
87
87
88
88
it_behaves_like :something
89
- it_should_behave_like :something
89
+ # it_should_behave_like :something
90
90
91
91
it_behaves_like :something do
92
92
let ( :foo ) { 'bar' }
Original file line number Diff line number Diff line change @@ -24,11 +24,7 @@ module SpecHelper
24
24
config . order = :random
25
25
26
26
# Run focused tests with `fdescribe`, `fit`, `:focus` etc.
27
- config . filter_run focus : true
28
- config . run_all_when_everything_filtered = true
29
-
30
- # Forbid RSpec from monkey patching any of our objects
31
- config . disable_monkey_patching!
27
+ config . filter_run_when_matching :focus
32
28
33
29
# We should address configuration warnings when we upgrade
34
30
config . raise_errors_for_deprecations!
You can’t perform that action at this time.
0 commit comments