-
Notifications
You must be signed in to change notification settings - Fork 0
/
rspec.yml
71 lines (55 loc) · 1.52 KB
/
rspec.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
AllCops:
DisplayStyleGuide: true
ExtraDetails: true
EnabledByDefault: true
NewCops: enable
# Don't enforce alignment of braces
RSpec/AlignLeftLetBrace:
Enabled: false
RSpec/AlignRightLetBrace:
Enabled: false
# Allow expect_any_instance_of to be used
RSpec/AnyInstance:
Enabled: false
# Allow any context wording
RSpec/ContextWording:
Enabled: false
# Allow empty context for shared examples
RSpec/EmptyExampleGroup:
Enabled: false
# Allow any number of lines in examples
RSpec/ExampleLength:
Enabled: false
# Prefer 'it should...' wording
RSpec/ExampleWording:
Enabled: false
# Allow use of expect in before/after hooks
RSpec/ExpectInHook:
Enabled: false
# Allow stubbing message chains
RSpec/MessageChain:
Enabled: false
# Enable use of both `allow` and 'expect' for message expectations
RSpec/MessageExpectation:
Enabled: false
# Prefer `expect().to receive ...` over `allow().to receive ...` + `expect().to have_received ...`
RSpec/MessageSpies:
Enabled: false
# Allow any number of expect calls
RSpec/MultipleExpectations:
Enabled: false
# Allow any number of let/subject calls
RSpec/MultipleMemoizedHelpers:
Enabled: false
# Allow any number of nested groups
RSpec/NestedGroups:
Enabled: false
# Allow examples (`it`) with no expectations, such as when all expections are in `before` or `after` hooks
RSpec/NoExpectationExample:
Enabled: false
# Allow `expect().to receive().with().and_return ...`
RSpec/StubbedMock:
Enabled: false
# Allow concerns to stub subject
RSpec/SubjectStub:
Enabled: false