Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

204 No Content #3

Open
jankeesvw opened this issue May 31, 2017 · 1 comment
Open

204 No Content #3

jankeesvw opened this issue May 31, 2017 · 1 comment

Comments

@jankeesvw
Copy link

Hi, I'm using rspec-raml in my current project, it works great! 👍

Today I was adding 204 No Content to the RAML but I can't get it to pass. Do you have an example on how to get this working with RSpec?

I'm trying this:

/users:
  securedBy:
    - basic
  /{externalUserId}/follows/show/{showId}:
    delete:
      description: Stop following a user
      responses:
        204:
@rzane
Copy link
Owner

rzane commented May 31, 2017

No, unfortunately, I don't. I think the problem is here: https://github.com/rzane/rspec-raml/blob/master/lib/rspec/raml/matchers/match_raml_body.rb#L46.

It's just parsing no matter what, which is definitely not right. Any interest in submitting a PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants