dry-rb / dry-effects

Algebraic effects in Ruby
https://dry-rb.org/gems/dry-effects/
MIT License
112 stars 20 forks source link

fixes typo in Resolve example #89

Closed jtzero closed 7 months ago

jtzero commented 7 months ago
1) CreateUser creates a user
     Failure/Error: user_repo.create(values.merge(name: name))

       #<Double :user_repo> received :create with unexpected arguments
         expected: ({:first_name=>"John", :last_name=>"Doe", :name=>"John Doe"}) (keyword arguments)
              got: ({:first_name=>"John", :last_name=>"Doe", :name=>"John Doe"}) (options hash)
     # ./example.rb:10:in `call'
     # ./example.rb:29:in `block (3 levels) in <top (required)>'
flash-gordon commented 7 months ago

yeah, thanks, it's a ruby 3+ change

flash-gordon commented 7 months ago

looks like CI requires some housekeeping, I'll do it this week (likely)