File tree Expand file tree Collapse file tree 4 files changed +28
-3
lines changed Expand file tree Collapse file tree 4 files changed +28
-3
lines changed Original file line number Diff line number Diff line change 1
1
### Development
2
+ [ Full Changelog] ( http://github.com/rspec/rspec-rails/compare/v3.7.1...master )
3
+
4
+ ### 3.7.1 / 2017-10-18
5
+ [ Full Changelog] ( http://github.com/rspec/rspec-rails/compare/v3.7.0...v3.7.1 )
6
+
7
+ Bug Fixes:
8
+
9
+ * Prevent system test integration loading when puma or capybara are missing (Sam Phippen, #1884 )
10
+
11
+ ### 3.7.0 / 2017-10-17
12
+ [ Full Changelog] ( http://github.com/rspec/rspec-rails/compare/v3.6.0...v3.7.0 )
2
13
3
14
Bug Fixes:
4
15
Original file line number Diff line number Diff line change @@ -51,7 +51,14 @@ def self.add_test_type_configurations(config)
51
51
config . include RSpec ::Rails ::Matchers
52
52
53
53
if ActionPack ::VERSION ::STRING >= "5.1"
54
- config . include RSpec ::Rails ::SystemExampleGroup , :type => :system
54
+ begin
55
+ require 'puma'
56
+ require 'capybara'
57
+ config . include RSpec ::Rails ::SystemExampleGroup , :type => :system
58
+ # rubocop:disable Lint/HandleExceptions
59
+ rescue LoadError
60
+ # rubocop:enable Lint/HandleExceptions
61
+ end
55
62
end
56
63
end
57
64
Original file line number Diff line number Diff line change 9
9
require 'rspec/rails/example/job_example_group'
10
10
require 'rspec/rails/example/feature_example_group'
11
11
if ActionPack ::VERSION ::STRING >= "5.1"
12
- require 'rspec/rails/example/system_example_group'
12
+ begin
13
+ require 'puma'
14
+ require 'capybara'
15
+ require 'rspec/rails/example/system_example_group'
16
+ # rubocop:disable Lint/HandleExceptions
17
+ rescue LoadError
18
+ # rubocop:enable Lint/HandleExceptions
19
+ end
13
20
end
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ module Rails
3
3
# Version information for RSpec Rails.
4
4
module Version
5
5
# Current version of RSpec Rails, in semantic versioning format.
6
- STRING = '3.7.0 .pre'
6
+ STRING = '3.8 .pre'
7
7
end
8
8
end
9
9
end
You can’t perform that action at this time.
0 commit comments