Sha256: 711a37e3ca60711a1d233d824e4bf170826677548308196050530d5ab41384f3
Contents?: true
Size: 401 Bytes
Versions: 3
Compression:
Stored size: 401 Bytes
Contents
# Returns whether or not Rails test helpers recommend or require keyword # arguments for controller/request helpers. def request_test_helpers_require_keyword_args? ActiveRecord::VERSION::STRING.to_f >= 5.0 end # Returns whether or not the current version of ActiveRecord supports the # `touch` option for `#save`. def activerecord_save_touch_option? ActiveRecord::VERSION::STRING.to_f >= 5.0 end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
draftsman-0.7.2 | spec/support/feature_detection.rb |
draftsman-0.7.1 | spec/support/feature_detection.rb |
draftsman-0.7.0 | spec/support/feature_detection.rb |