Relish Documentation fix #13

chaffeqa opened this Issue Oct 7, 2011 · 2 comments


None yet

3 participants

chaffeqa commented Oct 7, 2011

Dont know where else to put this issue...

on the site: controller spec page, you write:

  response.code.should eq(200)

Where that would fail since response.code returns a String "200" and not an integer. I dove into the source to see if it was a matcher issue, but it was the .code, which returns a String, what would make the above pass is:

 response.status.should eq(200)

No biggie, just a gotcha

I'll get to this over on rspec/rspec-rails. This tracker is for rspec 1. @dchelimsky, want to close this one?



@dchelimsky dchelimsky closed this Apr 13, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment