-
Notifications
You must be signed in to change notification settings - Fork 321
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
Are you open to include rspec_matchers? #755
Comments
One alternative is to create a separate gem which has these marchers but I think it would be nice to have it here |
A separate gem with the matchers seems good to me. @ixti what do you think? |
Yeah, I believe separate gem is the best approach. |
Just looked at Rails matcher impementation, we can actually provide 2 methods on response to make it compatible with alias status_code code
def response_headers
headers.to_h
end |
That would be an options but we don't know if the user are using or want to include rspec-rails. In this project I do but i see myself using rails less and less when hanami gets better |
If I create a repo with http_rb_rspec gem, with matchers. Would it be okey for it to live in httprb so you could do stuff with it if I'm not available. I can maintain it and release it but I would be nice it could live here to it's yours. |
Sure. With pleasure!
…On Wed, 26 Jul 2023, 16:38 Simon, ***@***.***> wrote:
If I create a repo with http_rb_rspec gem, with matchers. Would it be okey
for it to live in httprb so you could do stuff with it if I'm not
available. I can maintain it and release it but I would be nice it could
live here to it's yours.
—
Reply to this email directly, view it on GitHub
<#755 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAXEPXGAUDJECOELLWSOADXSETXRANCNFSM6AAAAAA2BXZSHU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I'll create a repo and grant you access today. |
I have the matcher and the gem ready ready. I can't find the invite did you create it? |
I created a repo just to show what I did https://github.com/stoivo/httprb_rspec |
Sorry. Was off the grid a bit. Created http-rspec repo and invited you to it. A couple of thoughts on that one:
|
|
it is released. I don't know how I can make it so you can release it too |
I added ixti and tarcieri so some of you have release access. Somebody else I should add? |
That's fine |
@stoivo can you send me an invite once again? I was off-the grid. |
Was getting some weird errors so I removed you and added you again.
@ixti, did it work? if not I will send an imail to rubygems |
Yup, thank you! |
I have used have_http_status from rspec-rails for a while an like it a lot. Would you be okay with including a custom rspec marcher?
I would like to implement something which looks like have_http_status. I was thinking of naming it
have_httprb_status
The text was updated successfully, but these errors were encountered: