Files
koreader/spec/unit
chrox 7ea12c0198 fix broken unit tests on Travis CI
1. It turns out that `device_id` is not defined in unit test environment
which makes the `assert(self.kosync_device_id)` fail and somehow makes `luajit` segmentation fault.
2. In the device spec, stubbing `io.open` will make subsquent `require`
all return boolean value and segmentation fault `luajit`.

This patch is a minimum viable change that makes CI work on both my
local box and Travis.
2016-08-11 18:17:09 +08:00
..
2016-04-19 00:01:28 -07:00
2016-04-19 00:01:28 -07:00
2016-04-19 00:01:28 -07:00
2016-06-06 10:05:16 -07:00
2016-04-19 00:01:28 -07:00
2016-04-19 00:01:28 -07:00
2016-04-19 00:01:28 -07:00
2016-02-23 22:01:12 -08:00
2016-08-10 10:42:51 -07:00
2016-04-19 00:01:28 -07:00
2015-03-21 17:02:25 +08:00
2015-12-26 12:59:57 -08:00