AntonKhorev left a comment (openstreetmap/openstreetmap-website#6352)

It can't be related to my changes, but I don't even see how it is related to 
anything. A test fails/passes depending on previous `Kernel.respond_to?` call. 
Tried on ruby 3.2.6, then 3.2.9.

```ruby
  def test_what
    # fails without this line:
    Kernel.instance_method(:respond_to?).bind_call(self, :does_not_matter_what)

    user = create(:user)
    user.avatar.attach(:io => File.open("test/gpx/fixtures/a.gif"), :filename 
=> "a.gif")
    variant = user.avatar.variant(:resize_to_limit => [100, 100])
    image_tag variant
  end
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6352#issuecomment-3224042338
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/pull/6352/c3224042...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to