Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Jul 27, 2024
1 parent d3caac6 commit 7dc8963
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions lib/sus/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,15 @@ def before
def after
end

def around
# Wrap logic around the test being executed.
#
# Invokes the before hook, then the block, then the after hook.
#
# @yields {...} the block which should execute a test.
def around(&block)
self.before

return yield
return block.call
ensure
self.after
end
Expand Down
Binary file added media/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7dc8963

Please sign in to comment.