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

Get mocktail to support folders/directories, with matching via request p... #5

Open
wants to merge 2 commits into
base: POSTBodyMatching
Choose a base branch
from

Conversation

expe-dkoh
Copy link

Work to support folders

@expe-dkoh
Copy link
Author

@markchangexpedia
Copy link

@pwalters

return mockResponses;
}

- (NSArray*) tagsMatchingQuery:(NSDictionary*)queries
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no space between (return type *) and method name - e.g.:

- (NSArray*)tagsMatchingQuery:(NSDictionary*)queries

@pwalters
Copy link
Owner

pwalters commented Mar 3, 2015

@expe-dkoh
Could you put a block of description text in the methods like

  • (NSDictionary_)matchQuery:(NSDictionary_)queries withTag:(NSString*)tag
    tagsMatchingQuery and so on to describe the added behavior?

Would be nice for future consumers since this is kind of complicated logic.

…nses to serve according to request-param/folder matching
@expe-dkoh
Copy link
Author

@pwalters thanks for the comments, fixed the spacing, and added more comments.


Default value is nil
*/
@property (nonatomic, strong) NSString* scenarioHint;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this need to be a 'hint' or can we just call it 'scenario' ?

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.

3 participants