Skip to content

Commit

Permalink
Merge pull request #1115 from herwinw/digest_instance
Browse files Browse the repository at this point in the history
Fix shared test digest_instance_update
  • Loading branch information
andrykonchin authored Nov 18, 2023
2 parents ca1073c + 8784941 commit 559d17d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/digest/instance/shared/update.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
c = Class.new do
include Digest::Instance
end
-> { c.new.update("test") }.should raise_error(RuntimeError)
-> { c.new.send(@method, "test") }.should raise_error(RuntimeError)
end
end

0 comments on commit 559d17d

Please sign in to comment.