Skip to content

Fix crash on unexpected method-signature in rspec describe #1239

Open
@mbj

Description

describe '#@-' do
  it 'turns positive value into a negative' do
    expect(-value({ amount: 10 })).to have_attributes(amount: -10)
  end
end

This crashes the method name parser where it should not.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions