Open nirname opened 3 months ago
Can you please provide a bit more context about the spec you’re dealing with?
What if you set the breakpoint here, what seems off to you?
The part you mention works. It complains about this part https://github.com/rspec/rspec-its/blob/14297a74c9fb6e6501b0a5fb5e3a5b9e4e89bc41/lib/rspec/its.rb#L169
Although these 2 methods should be identical
https://github.com/rspec/rspec-core/blob/1e661db5c5b431c0ee88a383e8e3767f02dccbfe/lib/rspec/core/example_group.rb#L158
and
https://github.com/rspec/rspec-core/blob/1e661db5c5b431c0ee88a383e8e3767f02dccbfe/lib/rspec/core/example_group.rb#L161
vendoring the lib and replacing example
with it
helped
Still not sure if it's compatibility problems
My apologies for being annoying. Let me repeat my questions.
Can you please provide a bit more context about the spec you’re dealing with?
What if you set the breakpoint here, what seems off to you?
@pirj Sorry for the long response, I'll try to reproduce this and provide more detailed description
Rails 5.2
When using
[]
for accessing hash-subject attributeshttps://github.com/rspec/rspec-its/blob/main/lib/rspec/its.rb#L169