Skip to content

Fixed deserialization of passed arguments to with block in AJ matcher #1684

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

Merged
merged 1 commit into from
Aug 4, 2016
Merged

Fixed deserialization of passed arguments to with block in AJ matcher #1684

merged 1 commit into from
Aug 4, 2016

Conversation

morgoth
Copy link
Contributor

@morgoth morgoth commented Aug 2, 2016

Without it, one get arguments like {"_aj_globalid"=>"gid://rspec-suite/GlobalIdModel/42"} which is internal way of serialization for AJ arguments.

BTW, I didn't find a way to avoid adding GlobalIdModel in global namespace (it's needed for deserialization) - let me know if you have some idea how to avoid it.

@JonRowe JonRowe merged commit 2c526db into rspec:master Aug 4, 2016
@JonRowe
Copy link
Member

JonRowe commented Aug 4, 2016

Thanks!

JonRowe added a commit that referenced this pull request Aug 4, 2016
@morgoth morgoth deleted the fixed-arguments-in-aj-matcher branch August 4, 2016 05:24
JonRowe added a commit that referenced this pull request Aug 4, 2016
sebjacobs pushed a commit to futurelearn/rspec-rails that referenced this pull request Mar 15, 2019
sebjacobs pushed a commit to futurelearn/rspec-rails that referenced this pull request Mar 15, 2019
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

Successfully merging this pull request may close these issues.

2 participants