File tree Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ AllCops:
6
6
Bundler/OrderedGems :
7
7
Enabled : false
8
8
9
+ Lint/AmbiguousBlockAssociation :
10
+ Exclude :
11
+ - spec/**/*_spec.rb
12
+
9
13
Lint/EndAlignment :
10
14
EnforcedStyleAlignWith : variable
11
15
@@ -73,6 +77,9 @@ Style/IndentAssignment:
73
77
Style/IndentHash :
74
78
EnforcedStyle : consistent
75
79
80
+ Style/IndentHeredoc :
81
+ Enabled : false
82
+
76
83
Style/ParallelAssignment :
77
84
Enabled : false
78
85
@@ -98,3 +105,6 @@ Style/TrailingCommaInArguments:
98
105
99
106
Style/TrailingCommaInLiteral :
100
107
EnforcedStyleForMultiline : comma
108
+
109
+ Style/SymbolArray :
110
+ Enabled : false
Original file line number Diff line number Diff line change 51
51
52
52
it 'changes inode of destination' do
53
53
skip 'inodes are not supported' unless inodes_supported?
54
- expect do
55
- src . replace ( dst )
56
- end . to change { dst . stat . ino }
54
+ expect { src . replace ( dst ) } . to change { dst . stat . ino }
57
55
end
58
56
end
59
57
end
Original file line number Diff line number Diff line change 97
97
98
98
it 'changes inode of destination' do
99
99
skip 'inodes are not supported' unless inodes_supported?
100
- expect do
101
- src . replace ( dst )
102
- end . to change { dst . stat . ino }
100
+ expect { src . replace ( dst ) } . to change { dst . stat . ino }
103
101
end
104
102
end
105
103
end
You can’t perform that action at this time.
0 commit comments