Elliot Winkler
Elliot Winkler
@KapilSachdev We would need to update the `delegate_method` matcher so that instead of merely handling the case in which the argument passed to `to` is a reference to another method...
@mathieujobin Would you mind posting a new issue for that? I think that would be easier to track. I think this issue is just intended to be a marker for...
Most people use `shoulda-matchers` with RSpec these days, so if there's an issue with Minitest then it's possible that there's a bug that we haven't patched yet. Feel free to...
The foreign key constraint says that in order for a Degree to refer to an Applicant, that Applicant must already exist with the same id. The constraint is failing when...
I'm closing this as I don't think this is a bug with shoulda-matchers, but feel free to continue the discussion.
@itsmechlark What's the error message you're getting?
@itsmechlark So here's what the matcher is doing (or supposed to do anyway): 1. The matcher takes a new instance of DocumentPublishingStage with `document_id` pointing to a real Document 2....
Yeah, the values of scopes are copied from the subject, but for some reason the value of the attribute (`document_id`) isn't. So you're saying that if you create the record...
Okay. I'm not sure when I'll be able to get to this, but in the meantime do you think it's possible for you to write a failing test for this...
@tamatsyk Ah, interesting. You could also try creating the record in question beforehand; that might be more straightforward than setting `subject.document`.