Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Relish Documentation fix #13

Closed
chaffeqa opened this Issue · 2 comments

3 participants

chaffeqa alindeman David Chelimsky
chaffeqa

Dont know where else to put this issue...

on the relish.com 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

alindeman

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

David Chelimsky
Owner

Thx.

David Chelimsky dchelimsky closed this
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.