|
8 | 8 | RSpec.describe User do |
9 | 9 | let(:a) { a } |
10 | 10 | let(:b) { b } |
11 | | - ^^^^^^^^^^^^^ Add an empty line after the last `let` block. |
| 11 | + ^^^^^^^^^^^^^ Add an empty line after the last `let`. |
12 | 12 | it { expect(a).to eq(b) } |
13 | 13 | end |
14 | 14 | RUBY |
|
30 | 30 | let!(:b) do |
31 | 31 | b |
32 | 32 | end |
33 | | - ^^^ Add an empty line after the last `let` block. |
| 33 | + ^^^ Add an empty line after the last `let!`. |
34 | 34 | it { expect(a).to eq(b) } |
35 | 35 | end |
36 | 36 | RUBY |
|
52 | 52 | RSpec.describe User do |
53 | 53 | let(:a) { a } |
54 | 54 | let(:user, &args[:build_user]) |
55 | | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Add an empty line after the last `let` block. |
| 55 | + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Add an empty line after the last `let`. |
56 | 56 | it { expect(a).to eq(b) } |
57 | 57 | end |
58 | 58 | RUBY |
|
96 | 96 | let(:a) { a } |
97 | 97 | let(:b) { b } |
98 | 98 | # end of setup |
99 | | - ^^^^^^^^^^^^^^ Add an empty line after the last `let` block. |
| 99 | + ^^^^^^^^^^^^^^ Add an empty line after the last `let`. |
100 | 100 | it { expect(a).to eq(b) } |
101 | 101 | end |
102 | 102 | RUBY |
|
119 | 119 | let(:b) { b } |
120 | 120 | # a multiline comment marking |
121 | 121 | # the end of setup |
122 | | - ^^^^^^^^^^^^^^^^^^ Add an empty line after the last `let` block. |
| 122 | + ^^^^^^^^^^^^^^^^^^ Add an empty line after the last `let`. |
123 | 123 | it { expect(a).to eq(b) } |
124 | 124 | end |
125 | 125 | RUBY |
|
144 | 144 | subject { described_class } |
145 | 145 |
|
146 | 146 | let!(:b) { b } |
147 | | - ^^^^^^^^^^^^^^ Add an empty line after the last `let` block. |
| 147 | + ^^^^^^^^^^^^^^ Add an empty line after the last `let!`. |
148 | 148 | it { expect(a).to eq(b) } |
149 | 149 | end |
150 | 150 | RUBY |
|
236 | 236 | hello |
237 | 237 | world |
238 | 238 | BAR |
239 | | - ^^^ Add an empty line after the last `let` block. |
| 239 | + ^^^ Add an empty line after the last `let`. |
240 | 240 | it 'has tricky syntax' do |
241 | 241 | expect(foo).to eql(" hello\n world\n") |
242 | 242 | end |
|
0 commit comments