Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit a588aea

Browse files
committed
Update rspec-rails build setting
1 parent 9ad25a9 commit a588aea

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

script/predicate_functions.sh

+2-7
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,8 @@ function is_ruby_31_plus {
112112
}
113113

114114
function rspec_rails_compatible {
115-
if is_ruby_25_plus; then
116-
# TODO remove when RSpec-Rails build is 3.1 safe by default
117-
if is_ruby_31_plus; then
118-
return 1
119-
else
120-
return 0
121-
fi
115+
if is_ruby_27_plus; then
116+
return 0
122117
else
123118
return 1
124119
fi

0 commit comments

Comments
 (0)