Skip to content

Commit

Permalink
Fix before/after with no arg (#2042)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbarreca authored Mar 29, 2024
1 parent 758a48d commit d62bbeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rspec.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ before :each do
# before all tests
end

before do
before :all do
# before this suite
end

after do
after : all do
# after this suite
end
```
Expand Down

0 comments on commit d62bbeb

Please sign in to comment.