gitlab-org--gitlab-foss/spec/lib
Yorick Peterse b74308c0a7 Correct arity for instrumented methods w/o args
This ensures that an instrumented method that doesn't take arguments
reports an arity of 0, instead of -1.

If Ruby had a proper method for finding out the required arguments of a
method (e.g. Method#required_arguments) this would not have been an
issue. Sadly the only two methods we have are Method#parameters and
Method#arity, and both are equally painful to use.

Fixes gitlab-org/gitlab-ce#12450
2016-01-25 21:28:59 +01:00
..
banzai Whitelist raw "abbr" elements when parsing Markdown 2016-01-23 20:38:06 +01:00
ci Added cache:key to .gitlab-ci.yml allowing to fine tune the caching 2016-01-20 23:12:48 +01:00
gitlab Correct arity for instrumented methods w/o args 2016-01-25 21:28:59 +01:00
disable_email_interceptor_spec.rb Tag lib specs 2015-12-09 11:55:42 +01:00
dnsxl_check_spec.rb Add IP blocking against DNSBL at sign-up 2016-01-20 15:28:19 +01:00
extracts_path_spec.rb Tag lib specs 2015-12-09 11:55:42 +01:00
file_size_validator_spec.rb Tag lib specs 2015-12-09 11:55:42 +01:00
git_ref_validator_spec.rb Tag lib specs 2015-12-09 11:55:42 +01:00
repository_cache_spec.rb Tag lib specs 2015-12-09 11:55:42 +01:00