polleverywhere-cops 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5793ab55316baec7b3f78f2b3228f2db7dbc8d85
|
4
|
+
data.tar.gz: e1d3d0d6ff885e61b8c8246dda7508d0439abc84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd2cb7bb242b36fb1f2523c4f154ec4fca350f81455d63d6eabff5efedae28a21fe9923a5f7f8146599ec0037420c2315a4b91c2c2531da0197141b0d4d72aac
|
7
|
+
data.tar.gz: a30bb6343ecbc112d1968bd39a05ed7fa7681dffde855cb23909791c891eb2f8df292f7e088deb740332e9c5bb54f939b63d3d90376670e40f85776db6d84144
|
@@ -4,7 +4,7 @@ module RuboCop
|
|
4
4
|
module Cop
|
5
5
|
module PollEverywhere
|
6
6
|
class RenderViews < Cop
|
7
|
-
MSG = 'Do not use `render_views` in controller
|
7
|
+
MSG = 'Do not use `render_views` in controller specs because it is orders of magnitude slower. If view rendering needs to be tested, write a different type of spec (acceptance, view, etc.)'.freeze
|
8
8
|
|
9
9
|
def_node_matcher :render_views?, <<-PATTERN
|
10
10
|
(send nil? :render_views)
|