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

James.Testing.Rest - string.Format() support for WithUri() #7

Closed
toddmeinershagen opened this issue Jan 16, 2015 · 1 comment
Closed

Comments

@toddmeinershagen
Copy link
Owner

Sometimes during testing, we like to punch values into a shared url using the string.Format() method. It would be convenient if we had the ability to pass a list of objects to the WithUri() method to allow for the same behavior in one call.

Example:

Request
   .WithUri("http://www.someuri.org/Facilities/{0}/Rooms", 12345)
@toddmeinershagen
Copy link
Owner Author

Fixed this issue with release of James.Testing.Rest 0.6.4.0.

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

No branches or pull requests

1 participant