Skip to content

its(:to_s) fails with got: "to_s"

gitlab-qa-bot requested to merge github/fork/TylerRick/its_to_s_bug into master

Created by: TylerRick

This appears to be a bug. I would expect this example to pass but it doesn't:

describe 1 do
  # fails with got: "to_s"
  its(:to_s) { should == 1 }
end

Merge request reports