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

handle cases where parameter value is blank for query string matcher #303

Closed
wants to merge 1 commit into from

Conversation

weynsee
Copy link

@weynsee weynsee commented Jun 18, 2017

Currently the following will raise an exception:

object = mock()
object.expects(:method_1).with(has_equivalent_query_string('http://example.com/foo?a='))
object.method_1('http://example.com/foo?a=')

This PR adds a fix so that the above assertion will pass.

@floehopper
Copy link
Member

@weynsee: Thanks. I've done some tweaking of your changes and opened #304 in place of this. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants