Skip to content

Commit 427c950

Browse files
committed
review changes
1 parent 70c2509 commit 427c950

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/config_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
File.write(default_settings_file_name, "default: default_value")
187187
File.write(custom_settings_file_name, "custom: custom_value")
188188
# workaround for Rails 6.1
189-
File.write(spring_file_name_for_rails_6_1, "") if Rails.version.start_with?("6.1")
189+
File.write(spring_file_name_for_rails_6_1, "") if Gem::Version.new(Rails.version) >= Gem::Version.new('6.1.0')
190190
end
191191

192192
after do

0 commit comments

Comments
 (0)