Skip to content

Commit 7a71d2e

Browse files
authored
Merge pull request #49 from codeclimate/tm-described-class-is-great
Allow described_class in specs
2 parents fea98b3 + aa75c43 commit 7a71d2e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ruby/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@ A developer should be able to view any `it` block in isolation --without its
199199
**exactly** what's going on. If you can accomplish this while using the RSpec
200200
DSL methods, it's probably fine.
201201

202-
- Avoid `described_class`
203202
- Avoid `let`, and `subject` (prefer factory methods)
204203
- Place `describe` within the namespace(s) for inner classes
205204
- Prefer `expect` syntax when possible

0 commit comments

Comments
 (0)