diff --git a/spec/integration/decorator_spec.rb b/spec/integration/decorator_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/integration/decorator_spec.rb
+++ b/spec/integration/decorator_spec.rb
@@ -31,7 +31,7 @@ RSpec.describe 'decorator' do
   describe 'custom decorator and part classes' do
     it 'supports wrapping in custom parts based on exposure names' do
       decorator = Class.new(Dry::View::Decorator) do
-        def part_class(name, options)
+        def part_class(name, value, **options)
           name == :custom ? Test::CustomPart : super
         end
       end.new
Update args for part_class in spec