TEA-ebook/teabook-open-reader

Specs are broken

Closed this issue · 0 comments

nono commented

When I launch specs with bundle exec rspec, it fails. I think it comes from the GPL header on top of each file. Ruby use the # encoding: utf-8 comment to set its encoding when it's on the first line of the file. With the GPL header, this comment comes later and is ignored. Ruby fallback to ASCII-7bits, which can't encode strings like "Honoré de Balzac".