Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
lstrzebinczyk committed Aug 22, 2024
1 parent ec8e37d commit aa2ee87
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
12 changes: 0 additions & 12 deletions lib/granite/action/performing.rb
Original file line number Diff line number Diff line change
Expand Up @@ -87,18 +87,6 @@ def try_perform!(context: nil, **options)
end
end

# def try_perform!(context: nil, **options)
# begin
# return unless valid?(context)
# rescue Granite::Action::ValidationError
# nil
# end

# transaction do
# perform_action!(**options)
# end
# end

# Checks if action was successfully performed or not
#
# @return [Boolean] whether action was successfully performed or not
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
require 'rspec/matchers/fail_matchers'
require 'simplecov'
SimpleCov.start do
minimum_coverage 99.66
minimum_coverage 99.63
end

require 'granite'
Expand Down

0 comments on commit aa2ee87

Please sign in to comment.