Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Generated description for `eq ["foo"]` is wrong #408

Closed
myronmarston opened this Issue · 2 comments

2 participants

@myronmarston
Owner
describe ["foo"] do
  it { is_expected.to eq ["foo"] }
end

Produces:

["foo"]
  should eq "foo"

But it should be:

["foo"]
  should eq ["foo"]
@ThijsWouters

I created a fix for this issue: #409.
I noticed that the Be matcher also has the same issue. But there could be others.
Can you help me identifying which should change?

@ThijsWouters

These are all the matchers which can take one argument, with their descriptions.
https://gist.github.com/ThijsWouters/8288990

@JonRowe JonRowe closed this in #409
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.