Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Match definitions by args#10

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
jmdobry merged 2 commits intojs-data:masterfromrib3:definition-match-args
Jul 24, 2015
Merged

Match definitions by args#10

jmdobry merged 2 commits intojs-data:masterfromrib3:definition-match-args
Jul 24, 2015

Conversation

@rib3
Copy link
Contributor

When testing complex directives that load multiple pieces of data from the same endpoint, I often don't want to set expectations on the order of the requests. Thewhen() method is great, but you can't set per argument responses, because they are not checked/compared.

This PR adds argument matching in the least invasive way possible, and adds tests around this functionality.

jmdobry added a commit that referenced this pull requestJul 24, 2015
@jmdobryjmdobry merged commit4410f6b intojs-data:masterJul 24, 2015
@jmdobry
Copy link
Member

Available in 3.1.0. Thanks!

@rib3rib3 mentioned this pull requestJul 24, 2015
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@rib3@jmdobry

[8]ページ先頭

©2009-2025 Movatter.jp