File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 1+ @ruby27_required
12Feature : Generate Open API Specification from test examples
23
34 Background :
Original file line number Diff line number Diff line change 99 config . match = :prefer_exact
1010 config . ignore_hidden_elements = false
1111end
12+
13+ Before ( '@ruby27_required' ) do |scenario |
14+ if RUBY_VERSION < '2.7'
15+ raise Cucumber ::Pending , "Skipped on Ruby #{ RUBY_VERSION } (requires >= 2.7)"
16+ end
17+ end
Original file line number Diff line number Diff line change 77
88describe RspecApiDocumentation ::HttpTestClient do
99 before ( :all ) do
10+ if RUBY_VERSION < '2.7'
11+ skip ( "Skipped on Ruby #{ RUBY_VERSION } (requires >= 2.7)" )
12+ end
1013 WebMock . allow_net_connect!
1114 # Capybara.server= was introduced in later versions
1215 # For older versions, we use the Capybara::Server directly with webrick
You can’t perform that action at this time.
0 commit comments