summaryrefslogtreecommitdiff
path: root/rubocop/cop/rspec
Commit message (Collapse)AuthorAgeFilesLines
* Add a new RSpec::EnvAssignment cop to prevent assigning to ENV in specs18765-stub_env_in_specsRémy Coutable2017-10-181-0/+58
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Replaces `tag: true` into `:tag` in the specsJacopo2017-10-071-0/+74
| | | | | | Replaces all the explicit include metadata syntax in the specs (tag: true) into the implicit one (:tag). Added a cop to prevent future errors and handle autocorrection.
* Require rubocop-rspec in the correct locationrs-fix-codeclimate-buildRobert Speicher2017-06-141-1/+3
| | | | Resolves the `codeclimate` CI failure
* Add a custom RSpec/SingleLineHook copRobert Speicher2017-06-141-0/+36
This cop adds an offense when `before`, `after`, or `around` are used as single-line blocks.