Skip to content
This repository was archived by the owner on Mar 3, 2020. It is now read-only.

Don't strip unless the result if non-nil. #108

Merged
merged 2 commits into from
Jul 15, 2011

Conversation

cmeiklejohn
Copy link
Contributor

Don't strip the result if it comes back as nil, as it will throw an exception before capybara-webkit can throw a WebkitError.

Continuation of #105, as it was accidentally closed. This updates the tests to ensure that once the socket is unstubbed the following tests have a clean slate to continue testing on by stubbing out all writes to the socket.

@cmeiklejohn
Copy link
Contributor Author

I can rebase and squash once you review; just wanted to leave the test fixes separate so it was clear what changes I made.

jkrall added a commit to jkrall/capybara-webkit that referenced this pull request Jul 15, 2011
@cmeiklejohn
Copy link
Contributor Author

@mike-burns what problems are you having with the tests?

@mike-burns mike-burns merged commit 344b051 into thoughtbot:master Jul 15, 2011
@mike-burns
Copy link
Contributor

Well they seem to be passing now so, merged!

@cmeiklejohn
Copy link
Contributor Author

Thanks.

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

Successfully merging this pull request may close these issues.

2 participants