The onebox gem tests are not integrated in core Discourse source code, so the tests-passed branch does not take that into consideration. It was an error on my part to not run specs before pushing the commit and I apologize for that.
Pushing a fix and cutting a new onebox version now.