Commit f4af832
committed
Enable
This cop actually finds the actual repeated examples below. So let's
remove them.
```ruby
$ bundle exec rubocop
Inspecting 72 files
....................................................C...................
Offenses:
spec/active_record/connection_adapters/oracle_enhanced/structure_dump_spec.rb:219:5: C: RSpec/RepeatedExample: Don't repeat examples within an example group.
it "should dump table comments" do ...
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
spec/active_record/connection_adapters/oracle_enhanced/structure_dump_spec.rb:226:5: C: RSpec/RepeatedExample: Don't repeat examples within an example group.
it "should dump column comments" do ...
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
spec/active_record/connection_adapters/oracle_enhanced/structure_dump_spec.rb:233:5: C: RSpec/RepeatedExample: Don't repeat examples within an example group.
it "should dump table comments" do ...
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
spec/active_record/connection_adapters/oracle_enhanced/structure_dump_spec.rb:240:5: C: RSpec/RepeatedExample: Don't repeat examples within an example group.
it "should dump column comments" do ...
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
72 files inspected, 4 offenses detected
$
```RSpec/RepeatedExample cop1 parent 483e756 commit f4af832
File tree
2 files changed
+3
-14
lines changed- spec/active_record/connection_adapters/oracle_enhanced
2 files changed
+3
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
Lines changed: 0 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | 232 | | |
247 | 233 | | |
248 | 234 | | |
| |||
0 commit comments